Answer Posted / dipesh
Suppose
Class My implements InetrfaceName{
My my=new InterfaceName(){ write mehtod impl here of
interface};
here we r creating instance of class (we dont know name)to
my
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is static variable with example?
What does you mean in math?
What is bubble sorting in java?
Why do we use return statement?
What are examples of modifiers?
What is class forname used for?
Which variables are stored in heap?
Explain the difference between an object-oriented programming language and object-based programming language?
How can you generate random numbers in java?
What is exception hierarchy in java?
What are the different data types in java?
When does an object becomes eligible for garbage collection in java?
Can we override static methods in java?
Does set allows null in java?
how to handle exceptions in ejb?