John Deere interview question

Java and oops concept and DSA depth