suppose we have an interface & that interface contains five
methods. if a class implements that interface then we have
to bound that to give tha definition of all five methods in
that class. If we declare that class as abstract then can
we call only two methods to give the deinition of that
method & i don't want to give the definition of all the
methods? can it possible

Answer Posted / sai hegde

It's possible that your abstract class implements one/all or
none of the interface methods. The concrete class that
extends your abstract class will have to provide
implementations for the methods that have not been
implemented in your abstract class.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 types of research methods?

522


what is the difference between preemptive scheduling and time slicing? : Java thread

541


How does java enable high performance?

700


What are the new features in java 8?

580


Can we define a package statement after the import statement in java?

590






What is difference between public static and void?

494


How big is a boolean?

589


What is the difference between preemptive scheduling and time slicing in java programming?

544


What are computer functions?

490


What is a method type?

545


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

534


What is an error in java?

649


Why do we need hashset in java?

518


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

606


What is lifetime variable?

533