What we have to do, when we don't want to implement all
methods of an interface?
Answer Posted / somasundar m
We have to declare that class an abstract class by
declaring that particular unimplemented methods as abstract
method. And you can not create an instance for this class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is array size in java?
Explain wait(), notify() and notifyall() methods of object class ?
What is try-with-resources in java?
What is java string pool?
Can we use return in constructor?
How does arraylist size increase in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is the use of :: in java?
Write an algorithm for quick sort?
What is compareto?
How do you check if a string contains only numeric digits?
What is garbage collection? What is the process that is responsible for doing that in java?
What is variable explain?
What is meant by javabeans?
Can we increase array size dynamically in java?