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 / suresh chand

yes,it is possible that abstract class implements zero,
one,two,three or four interface methods but not all i.e
five. After this concrete class which extends the abstract
class, implements the remaining methods.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the cs option of java interpreter?

499


What is entry set in java?

526


Explain about data types?

569


How can we run a java program without making any object?

536


What happens when a thrown exception is not handled?

575






What is difference between float and double?

494


What is difference between == and === in js?

539


What is use of static method?

528


How do you represent a space in regex java?

513


What is scanner in java?

532


Can final class have constructor?

490


What is the difference between a vector & an array list?

669


What is the replace tool?

542


What is the difference between declaration and definition in java?

512


How do you break a loop?

555