Dhani Stocks interview question

OOPs concepts and their examples