Tag Archive : java

An interface in Java is a blueprint of a class. It is similar to class. It is a collection of abstract methods. Since java does not support multiple inheritance in case of class, but by using interface it can achieve … Read more

What is a Variable in Java?

Variable is a data container that stores the data. Every variable has a data type that tells which types of data it can hold. Basically variable is a memory location of the data.


Read more