Answer Posted / asrinivas rao
In java a class can implement interface using "implemnts"
keyword.the methods defined in the interface need to be
implemented in the class which implments the respective
interface,otherwise the class becomes has an Abstract class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of exception handling?
What is polymorphism java example?
Explain java coding standards for interfaces?
What is the purpose of final keyword and when to use it?
What does java final mean?
which pattern is default in scanner package?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What is the difference between equals() and?
Is main an identifier?
What is return null in java?
Give us a program to check for parenthesis matching using stack.
I want to persist data of objects for later use. What is the best approach to do so?
Why java is said to be pass-by-value ?
What is the primary benefit of encapsulation?
Can we have 2 main methods in java class?