Virtusa interview question

Explain OOP concepts? Find the max value of an array