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 method in java?
What things should be kept in mind while creating your own exceptions in java?
What is java command?
What is method and methodology?
When a byte datatype is used?
How do you declare an array in java?
Can we use a default constructor of a class even if an explicit constructor is defined?
How does thread synchronization occurs inside a monitor?
Do we need to manually write Copy Constructor?
Can we override private constructor in java?
What is use of map in java?
What is the difference between heap memory and stack memory?
How do you start a new line in java?
How to convert string to byte array and vice versa?
Do you know how to reverse string in java?