Interview Questions

Difference between Abstract Class and Concrete Class in Java

Here you will learn the difference between abstract class and concrete class in Java. Abstract classes are partially implemented classes. This means that they have some methods which need to be implemented in the derived class. As the object of abstract classes can’t me instantiated, so they just serve the purpose of inheritance. These classes …

Difference between Abstract Class and Concrete Class in Java Read More »

Why Java is Platform Independent Language?

In this article we will learn about why java is platform independent. Before getting into details of this first we should know what platform independence is. Platform Independence: It means if we have written a program it should run on any platform without any modifications. Platform means hardware + operating system. Why Java is Platform Independent …

Why Java is Platform Independent Language? Read More »

Difference between Method Overloading and Method Overriding in Java

Here you will learn about difference between method overloading and method overriding in java with program examples. When a class have methods with same name but different arguments list then it is called method overloading. On the other hand if two classes (parent and child) have methods with same name and same arguments list then …

Difference between Method Overloading and Method Overriding in Java Read More »

Difference between ArrayList and LinkedList in Java

Here you will learn about difference between arraylist and linkedlist in java i.e. arraylist vs linkedlist. Both ArrayList and LinkedList are similar in many ways like both implement List interface and are non-synchronized. But still there are various differences between them which I have discussed below. Also Read: Difference between ArrayList and Vector in Java Image …

Difference between ArrayList and LinkedList in Java Read More »