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
Explain an algorithm to find depth of a binary tree.
Write java program to reverse string without using api?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
Why java is considered dynamic?
What are the parts of methodology?
What is the maximum size of array in java?
What is protected in java?
Is void a wrapper class?
What types of index data structures can you have in java?
What do you understand by casting in java language?
What is flag in java?
What is file in java?
How an object is serialized in java?
What is the purpose of the file class in java programming?
How can I right-justify a string?