Interview Questions

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 »

Can We Override static Method in Java?

Can we override static method? is another important java interview question. Lets first take a look on what is method overriding. Method Overriding: When parent and child class have methods with same signature then it is called as method overriding. At run time compiler decides which method to call depending upon object type. Also Read: Can We Overload …

Can We Override static Method in Java? Read More »

Difference Between Java, Core Java and Advance Java

Here you will learn about difference between java, core java and advance java. Mostly beginner java programmers have confusion about these 3 terms in their mind. Below I have explained them to clear their confusion. Java It is a high level programming language. Java is available in three flavors. Java Standard Edition (J2SE or JSE) …

Difference Between Java, Core Java and Advance Java Read More »

Difference between include directive and include action tag in JSP

  Both include directive and include action tag are used to include some jsp page, html page or text file inside another jsp page. Still there are several differences between them that I have explained in this tutorial. Difference between include directive and include action tag in JSP   S. No. include directive include action …

Difference between include directive and include action tag in JSP Read More »

Why Java Does Not Support Multiple Inheritance?

In this tutorial you will learn why java does not support multiple inheritance. It is a very popular and frequently asked java interview question. What is Multiple Inheritance? When a class inherits two or more classes then this scenario is called as multiple inheritance. Also Read: Why Java Does Not Support Pointers? Why Java Does Not …

Why Java Does Not Support Multiple Inheritance? Read More »