StockEdge interview question

Question related on Object Oriented Programming for 15 marks