did interface can implementation method ? i know its not
possible but my interviewer said its possible ..but how..?
any one have idea ???
Answer Posted / vinod
Hi Lakshmikant,
by writing anonymous class you are actully implementing an interface
It does not mean that we can have implementation with in an interface.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the differences between c++ and java? Explain
Are arrays classes in java?
What is the difference between size and length in java?
Can a java program have 2 main methods?
How do you remove an element from an arraylist in java?
What is Applet Stub Interface ?
Why can't we make a class private in java?
Is string is a data type in java?
What is a concrete classes? Is Java object class is concrete class?
What is member in java?
How to sort array in descending order in java?
Does apple use java?
Explain where variables are created in memory?
What are the 4 types of research methods?
Can we call the run() method instead of start()?