Home » #javabasics » Page 5

#javabasics

Core Java

21. What is Super in java?Super is a keyword that is used to access the method or member variables from the superclass. If a method hides one of the member variables in its superclass, the method can refer to the hidden variable through the use of the super keyword. In the same way, if a […]

Core Java Read More »

Core Java

11. What is Encapsulation?It is a technique used for hiding the properties and behaviors of an object and allowing outside access only as appropriate. It prevents other objects from directly altering or accessing the properties or methods of the encapsulated object. We can make the fields as private or protected and let them to be

Core Java Read More »

Core Java

1. What is java and its history?Java is a popular object-oriented programming language. It is defined as a complete collection of objects. By using Java, we can develop lots of applications such as gaming, mobile apps, and websites. 2. What are the core principles or features of java? 3. Is java high performance?Yes. Java uses Just-In-Time

Core Java Read More »

Scroll to Top