CONFLUXSYS interview question

Basic of Java, encapsulation, Interface,Inheritance