OOPs

Float class in Java

The Float class is a wrapper class for the primitive type float. It contains several methods for dealing with float…

2 years ago

Short class in Java

The Short class is a wrapper class for the primitive type short. It contains several methods for dealing with short…

2 years ago

Wrapper Class in Java

A Wrapper class is one whose object contains or wraps primitive data types. When we create an object for a…

2 years ago

Nested Class in Java

It is possible to define a class within another class in Java, and these classes are referred to as nested…

3 years ago

Interface vs Abstract class

As we all know, abstraction refers to hiding the internal implementation of a feature and only giving the users the…

3 years ago

Interface in Java

In Java, an interface is a blueprint for a class. It has abstract methods and static constants. In Java, the…

3 years ago

Abstract 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…

3 years ago

instanceof Operator in Java

The instanceof operator is used to determine whether or not a reference variable contains a specific type of object reference.…

3 years ago

Final keyword in Java

In Java, the final keyword is used to restrict the user. The final keyword in Java can be used in…

3 years ago

Runtime Polymorphism

Polymorphism: Polymorphism is a Java concept that allows us to perform a single action in multiple ways. Polymorphism is made…

3 years ago