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

How do you use spaces in java?

509


how we can make a read-only class in java?

529


What does system.gc() and runtime.gc() methods do?

586


Name few java 8 annotations ?

550


State some advantages of java?

701






What are static blocks in java ?

597


What is a condition in java?

520


What is a dynamic array in java?

545


What is the synchronized method modifier?

573


What is the best definition for data?

505


What is formatted output?

499


What are exceptions

625


Difference between method overloading and overriding.

566


Is string a datatype?

540


Explain about static imports in java?

580