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
What are aggregate functions explain with examples?
Does list maintain insertion order java?
What are the two main uses of volatile in Java?
What is a newline character in java?
How do you read and print a string in java?
What is the use of arraylist class in java?
What do you understand by access specifiers in Java?
Is java code slower than native code?
Which class is the superclass for all the classes?
Explain numeric promotion?
Is singleton class immutable?
What are data structures in java?
What is the do while loop syntax?
Can we define constructor in inner class?
Can we have more than one package statement in source file ?