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
Can we write any code after throw statement?
What do you understand by the term wrapper classes?
What are namespaces in java?
how to split string in java?
What is the difference between equals() and?
What is the purpose of using java.lang.class class?
Explain aggregation in java?
What is meant by class loader? How many types are there?
What are the Main functions of Java?
What is finally block?
Can an arraylist be empty?
What is use of valueof () in java?
Can we have two main methods in a java class?
How can we create objects if we make the constructor private ?
What is a java list?