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 are the supported platforms by java programming language?

573


What languages are pass by reference?

545


What is the covariant return type?

587


Explain the importance of throws keyword in java?

574


What is a substring of a string?

567






Explain about static imports in java?

601


What is byte data type?

552


Can we override private method in java?

622


What does nextint () do in java?

554


What are class members by default?

663


How many inner classes can a class have?

584


Is array dynamic in java?

485


please send me hr interview questions in it industry

1672


What is anagram number?

458


Does java list allow null?

550