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 a nested list?

722


Can a class extends itself in java?

751


What is the benefit of abstract class?

698


What is a vector in java?

773


What is the basic concept of java?

757


Can an integer be null java?

750


What is the current version of java?

746


Can we override private methods?

754


What is methods and methodology?

767


Where pragma is used?

813


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

776


What is finally in Java?

789


Can Exception handling we can handle multiple catch blocks?

817


What does percent mean in java?

787


Can we declare main () method as non static?

706