Toyota North America interview question

In the last round, I was asked about general Java question, and OOP