What is an interface in Java? Explain

It is a reference type that is similar to a class in Java. It is a collection of abstract methods that is used for full abstraction. An interface may have methods and variables but the methods in interface are abstract by default.

Suggest An Answer

No suggestions avaliable!

Related Interview Questions