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 technique is carried out to find out if a particular string is empty?

573


What is an inner class in java?

525


Is namespace same as package in java?

545


Why javac is not recognized?

526


Can a final variable be initialized in constructor?

492






Why char array is favored over string for the storage of passwords?

556


What is a method signature java?

575


What do you mean Abstraction in java?

611


What are the different access modifiers available in java?

563


What is difference between this and super keyword?

519


What is the purpose of garbage collection in java? When is it used?

542


What does the exclamation mark mean in java?

596


How do I remove a character from a string in java?

504


What does += mean in java?

576


What are data types in programming?

553