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

What is meant by stack and queue?

610


What’s the difference between applets and standalone program?

543


What is command line used for?

607


What is difference between adapter class and listener?

509


How do you clear a method in java?

548






What is a methodologist?

538


Is sizeof a keyword in java programming?

617


what do you mean by classloader?

559


What is lastindexof in java?

556


What is the internal implementation of set in java?

514


What is java util list?

493


What is identifier with example?

590


What is a class in java?

590


What is the difference between a method and a function in alice?

587


What is binary tree in java?

542