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

Answer Posted / aditya mohata

we have to declare that class as an abstract class.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the major advantage of external iteration over internal iteration?

621


Explain about java sdk?

583


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

526


How is a variable stored in memory?

540


How do you sort a string in alphabetical order in java?

537






Detail discussions on JVM, memory management and garbage collector.

562


What is parameters example?

564


Does list maintain insertion order java?

549


What restrictions are placed on method overloading in java programming?

582


What is the output of the below java program?

605


How a variable is stored in memory?

516


How do you take thread dump in java?

568


what is meant by HQL?

649


can I implement my own start() method? : Java thread

562


Describe the term diamond problem.

583