SAP interview question

Java (OOP)