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


Please Help Members By Posting Answers For Below Questions

how its run?

571


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

520


What do you understand by casting in java language?

580


Why collection doesn’t extend cloneable and serializable interfaces?

646


What is a container in a gui?

550






'A class is a template for an object' explain this statement.

547


Difference between final and effectively final ?

639


What interface is extended by awt event listeners?

595


How do you reverse a string in java?

584


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

545


What's the difference between an abstract class and interface in java?

560


What is use of static method?

536


Explain aggregation in java?

549


How do you convert boolean to boolean?

526


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?

575