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 is difference between equal and == in java?

728


Discuss 2D arrays.

819


What are static blocks in java ?

839


What class allows you to read objects directly from a stream in java programming?

766


What is immutable in java?

785


What is nested top-level class?

781


What is string manipulation?

719


What is the difference between applet and application?

746


I want to persist data of objects for later use. What’s the best approach to do so?

711


What are format specifiers in java?

824


What is classes in java?

715


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

909


What are the advantages and disadvantages of object cloning?

791


List some important characteristics on jre

830


What is a conditional equation?

792