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 / pavan chaturvedi
no we have to override all methods of interface
| Is This Answer Correct ? | 2 Yes | 20 No |
Post New Answer View All Answers
What one should take care of, while serializing the object?
What is singleton class and how can we make a class singleton?
How does varargs work in java?
What is an object in java?
Can a constructor have different name than a class name in java?
What is meant by call by reference?
What is size () in java?
Why is a constant variable important?
When is the garbage collection used in Java?
What are different data structures in java?
What is a lambda expression ? What's its use ?
What is communist flag?
When do you call copy constructor?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What happens when a thrown exception is not handled?