Java

Multiple inheritance in java

Let’s learn multiple inheritance in java. Multiple inheritance in java Multiple inheritance is one of the object oriented feature where one child class or sub…

Read More

Comparable interface in java

Let’s learn comparable interface in java. Comparable interface in java Comparable interface is an interface used to compare objects of same type. It can be…

Read More

Functional interface in java

Let’s learn functional interface in java. Functional interface in java Functional interface is one kind of an interface which has only one abstract method. Syntax:…

Read More

instanceof java

Let’s learn instanceof java. instanceof java instanceof operator is used to check whether the object is an instance of specified type. Type can be a…

Read More

immutable class in java

Let’s learn immutable class in java. immutable class in java An immutable object in one that once the object is created its state or content…

Read More

wrapper class in java

Let’s learn wrapper class in java. wrapper class in java wrapper classes allow primitive data types a way to convert into object and vice-versa. For…

Read More

random class java

Let’s learn random class in java. random class java An instance of Random class is used to generate a stream of pseudorandom numbers. Instances of…

Read More

Difference between abstract class and interface in java

Let’s learn difference between abstract class and interface in java. Difference between abstract class and interface in java Here’s the difference between abstract class and…

Read More

difference between class and interface in java

Let’s learn difference between class and interface in java. difference between class and interface in java Here’s the difference between class and interface. “class” keyword…

Read More

difference between hashmap and hashset

Let’s learn difference between hashmap and hashset in java. difference between hashmap and hashset HashSet HashMap We can store objects in HashSet. For example HashSet:{“Hello”,…

Read More