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
Why parameters should be passed by reference?
What is the r character?
Explain about the dynamic behavior of core java?
How do you escape in java?
what is meant wrapper classes?
what is thread in Java ?
What do you mean by an object in java?
What are the advantages of unicode?
What is a subsequence of a string?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What is the use of list in java?
What is the difference between == and === javascript?
What is hashtable and explain features of hashtable?
Does java initialize arrays to zero?
What is the purpose of default constructor?