1.

What is an interface in Java? Explain

Answer»

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.



Discussion

No Comment Found