did interface can implementation method ? i know its not
possible but my interviewer said its possible ..but how..?
any one have idea ???
Answer Posted / keerthi
method implementation is impossible in interface , method
declaration only possible in interface.
In abstract class method declaration or implementation
possile.
If we implement methods in iterface what is purpose of
abstract concepts.
The interviewer asked for checking whether your confident
or not
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Can a class extends itself in java?
What exactly is methodology?
What is the difference between jvm and jre? What is an interface?
What is the function of compareto in java?
What is the hashcode () and equals () used for?
What is the difference between yield() and sleep()?
Can a class with private constructor be extended?
When do we use synchronized methods in java?
What is map java?
Which sorting is best in java?
How do I print a “?
What is a method type?
What is the difference between variable declaration and variable initialization?
What are the two environment variables that must be set in order to run any java programs?
What is regex in java?