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
Can you explain the cs option of java interpreter?
What is entry set in java?
Explain about data types?
How can we run a java program without making any object?
What happens when a thrown exception is not handled?
What is difference between float and double?
What is difference between == and === in js?
What is use of static method?
How do you represent a space in regex java?
What is scanner in java?
Can final class have constructor?
What is the difference between a vector & an array list?
What is the replace tool?
What is the difference between declaration and definition in java?
How do you break a loop?