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

Answer Posted / vinaygeddannavar

YOU SHOULD NOT GO FOR THE INHERIT IN CHILD SPECIFIC CLASS
THATS THE BEST WAY... OTHERWISE IF YOU MAKE IT AS ABSTRACT
CLASS AGAIN YOU NEED TO INHERIT THAT CLASS IN CHILD CLASS OK.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you initialize an Applet?

621


what is the swingutilities.invokelater(runnable) method for? : Java thread

548


What is the difference between the font and fontmetrics classes in java programming?

502


What is polymorphism and what are the types of it?

506


What is difference between overloading and overriding in java?

529






Differentiate between the constructors and methods in java?

510


What do you mean by local class?

515


When super keyword is used?

593


Differentiate between run time error and syntax error.

571


What is exception in java?

569


Difference between predicate, supplier and consumer ?

584


What is the difference between method overriding and overloading?

580


What is token in java?

533


What is classpath?

550


Explain garbage collection in java?

548