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
How will you communicate between two applets?
What is a lock or purpose of locks in java?
What is the meaning of variable in research?
What is dynamic binding(late binding)?
Which one of the following suits the description of a string better: derived or primitive?
what is the difference between Object Based Language and Object Oriented Language?
Can we compare two strings in java?
Explain the init method?
How can we create objects if we make the constructor private ?
What is an off by one error in java?
What is finally block?
How can constructor chaining be done by using the super keyword?
What are the two ways of implementing multi-threading in java?
How to instantiate static nested classes in java?
Write the algorithm to check the number non-leaf nodes in a tree.