Tag: OOPs
-
JavaFloat class in Java
The Float class is a wrapper class for the primitive type float. It contains several methods for dealing with float…
August 27, 2022
-
JavaShort class in Java
The Short class is a wrapper class for the primitive type short. It contains several methods for dealing with short…
August 27, 2022
-
JavaWrapper Class in Java
A Wrapper class is one whose object contains or wraps primitive data types. When we create an object for a…
August 20, 2022
-
JavaNested Class in Java
It is possible to define a class within another class in Java, and these classes are referred to as nested…
June 11, 2022
-
JavaInterface vs Abstract class
As we all know, abstraction refers to hiding the internal implementation of a feature and only giving the users the…
June 3, 2022
-
JavaInterface in Java
In Java, an interface is a blueprint for a class. It has abstract methods and static constants. In Java, the…
June 3, 2022
-
JavaAbstract Class & Method in Java
In Java, an abstract class is specified with the abstract keyword. Both abstract and non-abstract methods can be used (method…
June 3, 2022
-
Javainstanceof Operator in Java
The instanceof operator is used to determine whether or not a reference variable contains a specific type of object reference….
June 3, 2022
-
JavaFinal keyword in Java
In Java, the final keyword is used to restrict the user. The final keyword in Java can be used in…
May 28, 2022
-
JavaRuntime Polymorphism
Polymorphism: Polymorphism is a Java concept that allows us to perform a single action in multiple ways. Polymorphism is made…
May 25, 2022