What we have to do, when we don't want to implement all
methods of an interface?

Answer Posted / ravikiran(aptech mumbai)

instead of using interface make use of abstract class at
that moment

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a null check?

629


What are the advantages and disadvantages of reference counting in garbage collection?

668


Difference between keyword and identifier.

678


Is there any difference between nested classes and inner classes?

645


What is a parameter used for?

608






What is method reference in java?

678


How use .contains in java?

721


What is double in java?

608


Does java vector allow null?

612


What is difference between adapter class and listener?

583


When would you use a static class?

673


What is a JAR file?

677


Explain the importance of join() method in thread class?

733


What is the use of default method in interface in java? Explain

626


What are the differences between wait() and sleep()?

631