function of extends and implements keywords?
Answers were Sorted based on User's Feedback
Answer / jitender arora
Extending means adding new method definitions. Implementing
means satisfying the existing interface contract by writing
the proscribed method bodies.
When you derive a class from a base class we say the
derived subclass extends the base class. An interface can
also extend another interface. In contrast, when a class
provides the methods (possibly abstract) necessary to
conform to some interface we say that class implements the
interface. Extending a class is closely related to
implementing an interface. A new class can extend at most
one superclass, but it may implement several interfaces.
In interface may extend several other interfaces (though a
class implements an interface). You sometimes do this to
give you a short same to stand for the requirement
implementing half a dozen related interfaces.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mayur kumar
extends is used to inherite a class and implement is used
to inherit an interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain bind(), rebind(), unbind() and lookup() methods?
What do you mean by Socket Programming?
whats is statement and procedure
What is MOM?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What is table mutation and how do you avoid it?
What are the ways to define classes that can be run as threads?
diff between jsp include directive and jsp action include?
what's the main difference between unix os and linux os?
In howmany ways a thread can be created?
What is the purpose of the notify() method?
what is JTA ?