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
Does variable declaration allocate memory?
Does importing a package imports its sub-packages as well in java?
Explain jdk, jre and jvm?
What is a text string?
How to stop a thread in java? Explain about sleep () method in a thread?
What makes a function well defined?
How does compareto method work?
What is strings in java?
What do you mean by JVM?
What are different exception types exceptions available in java ?
How do you replace a string in java?
Which collection does not allow duplicates in java?
Is ++ operator is thread safe in java?
What is an interface in java? Explain
What is math exp in java?