ION Group Interview Question

Puzzle question.. Oops concept.. Question based on data structures