Leaf Labs interview question

Find the second largest element of an array. OOP design.