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 is the purpose of "virtual"?
What is valid keyword in java?
Can we compare two strings in java?
Give me example of derived data types.
What is return in java?
What function extracts specified characters from a string?
What are the access modifiers in java?
In java, what is the difference between method overloading and method overriding?
What are the main differences between notify and notifyAll in Java?
What is the difference between form & report?
What is string made of?
What is the difference between access specifiers and access modifiers in java? 16
What is difference between calling start() and run() method of thread?
What is variable length arguments in java?
What is object-oriented programming?