Answer Posted / 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 |
Post New Answer View All Answers
Why does the option tag render selected=selected instead of just selected?
How are commas used in the intialization and iteration parts of a for statement?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What is the purpose of the notify() method?
What is TL and its use?
What is the relationship between an event-listener interface and an event-adapter class?
Java is fully object oriented languages or not?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What are the services in RMI ?
If your ui seems to freeze periodically, what might be a likely reason?
What is the relationship between the canvas class and the graphics class?
Can constructors be synchronized in java?
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 difference between object state and behavior?
Explain the steps in details to load the server object dynamically?