Java – Interfaces
An interface is a reference type in Java. It is similar to class. It is…
An interface is a reference type in Java. It is similar to class. It is…
Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and…
As per dictionary, abstraction is the quality of dealing with ideas rather than events. For example, when…
Polymorphism is the ability of an object to take on many forms. The most common…
In the previous chapter, we talked about superclasses and subclasses. If a class inherits a…
Inheritance can be defined as the process where one class acquires the properties (methods and…
In this chapter, we will discuss inner classes of Java. Nested Classes In Java, just…
An exception (or exceptional event) is a problem that arises during the execution of a…
The java.io package contains nearly every class you might ever need to perform input and…
A Java method is a collection of statements that are grouped together to perform an…