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
Why can we not override static method?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is t type java?
What is formatted output in java?
Can we have multiple classes in a single file?
What if I write static public void instead of public static void in java?
How do you find the independent variable?
How can you read content from file in java?
Is a class an object?
What is primitive array?
Implementations of set interface?
what is encapsulation in java? Explain
What does compareto () do in java?
How are multiple inheritances done in Java?
What is the significance of java packages?