Hexaware Technologies interview question

Java Oops encapsulation, abstraction