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 size of int in java?
What is regex java?
Can we extend immutable class?
How to solve the problem of generating the unique hash keys with hash function?
In java how do we copy objects?
How to create a custom exception?
Why do we need singleton class?
What is an abstract class and what is it’s purpose?
What restrictions are placed on method overloading in java programming?
What is the functionability stubs and skeletons?
What is the current version of java?
Explain about narrowing conversion in java?
What are classloaders?
What is unicode in java?
What is a super method?