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
how its run?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
What do you understand by casting in java language?
Why collection doesn’t extend cloneable and serializable interfaces?
What is a container in a gui?
'A class is a template for an object' explain this statement.
Difference between final and effectively final ?
What interface is extended by awt event listeners?
How do you reverse a string in java?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What's the difference between an abstract class and interface in java?
What is use of static method?
Explain aggregation in java?
How do you convert boolean to boolean?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?