Anonymous
Write your answer here. And keep checking whether it's been chosen as the Best Answer.
*
Please enter answer before submitting.
Be the first to answer. Click here
Can you answer these
Losing Weight
questions?
PerformedActionEvent. If your classincludes "implements ActionListener", then an instance of your class isallowed to be passed anywhere that a parameter requires an object oftype ActionListener. This includes addListener. Itdefines only one method, actionPerformedActionEvent. If your classincludes "implements ActionListener", then an instance of your class isallowed to be passed anywhere that a parameter requires
Posted in
Computers & Technology by
piyush soni
at
9:53 PM on July 16, 2008
PhoneNumber; is equivalent to private string PhoneNumber; protected - Protected members can be accessed only from the child classes. internal - Internal members can be accessed from anywhere within the application. This is the default access specifier for a class....well, Types of Access Specifiers public - The members Functions & Variables declared as public can be accessed from anywhere. private
Posted in
Computers & Technology by
Kishor More
at
5:52 PM on June 18, 2008
by classes anywhere in the class hierarchy, whether or not they are related to one another in any way. Think of Comparable or Cloneable, for example.By comparison, abstract classes are most commonly subclassedChoosing interfaces and abstract classes is not an either/or proposition. If you need to change your design, make it an interface. However, you may have abstract classes that provide some default
Posted in
Computers & Technology by
jks marven
at
1:00 PM on May 28, 2008
declarations, it should be declared as an interface instead.Multiple interfaces can be implemented by classes anywhere in the class hierarchy, whether or not they are related to one another in any way. Think an implementation without braces, and followed by a semicolon, like this: abstract void moveTodouble deltaX, double deltaY;If a class includes abstract methods, the class itself must be declared abstract, as in
Posted in
Computers & Technology by
SUNIL .
at
5:11 AM on September 29, 2008
be declared as an interface instead.Multiple interfaces can be implemented by classes anywhere in the class hierarchy, whether or not they are related to one another in any way. Think of Comparable or Cloneable abstract method declarations, it should be declared as an interface instead.Multiple interfaces can be implemented by classes anywhere in the class hierarchy, whether or not they are related to one another
Posted in
Computers & Technology by
lucky
at
12:34 AM on May 17, 2008