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 object slice?
What are thread priorities and importance of thread priorities in java?
What is variable argument in java?
Which command from the jdk compiles a java program?
Which is better list or arraylist in java?
difference between byte stream class and character stream class?
What is the use of isempty in java?
which class is the wait() method defined in? : Java thread
Can we have more than one package statement in the source file?
Why is string buffer better than string ?
Can a boolean be null java?
What are the advantages of java inner classes?
Can we have two methods in a class with the same name?
Explain jvm, jre, and jdk?
What is the purpose of using java.lang.class class?