Answer Posted / mayuri wankhade
without using implements clause it is also possible to use
interface by creating object of an interface in the class
containing main method like :
nameOfInterface Obj = new nameOfInterface()
{
implement a method declared in an interface
};
Obj.MethodName();
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of exceptions?
What is a war file?
How is the marker interface used in Java?
Why pass by reference is not possible in java?
Does windows 10 need java?
What is class??
What is instance synchronization?
What is super in java?
What is an array in java?
How to call one constructor from the other constructor ?
Is 0 an even number?
How many bits is a char?
List the different types of classloaders in java.
Is string a datatype?
What are encapsulation, inheritance and polymorphism?