State what you understand by “One interface, Multiple methods" in Java?
State what you understand by “One interface, Multiple methods" in Java? මෙකට උත්තරයය්ක් කියන්න පුලුවන්ද
Tagged:
1
Best Answer
-
An interface is similar to java class.
Its a reference type in Java.
An interface can contain any number of methods.
It is a collection of abstract methods.
A class implements an interface,
That means inheriting the abstract methods of the interface.
Learn More about Abstract Methods and Classes
Refer this e books >> Java Programming Language එක සරලව මුල ඉදන් ඉගෙනගන්න වටිනා PDF 4 ක්.
1