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 do you mean by hashing?
What is a control variable example?
What are white spaces in java?
What are the differences between include directive and include action?
Write a code to show a static variable?
How big is a 32 bit integer?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
Is math class static in java?
Can a class have more than one object?
What is parameters example?
How does java enable high performance?
What is a void in java?
What is the functionability stubs and skeletons?
What is primitive data type in java?
What is immutable data?