Provide the definition of an abstract class named DesktopComponent that contains the following:
1 answer:
package mypackage; // Whatever package this should be in.
public abstract class DesktopComponent {
private String type;
// Alternatively you may want a final variable.
// private final String type;
public DesktopComponent(String type)
{
this.type = type;
}
abstract void onClick();
}
You might be interested in
Answer:
B. IF function should be used to display a value based on a comparison.
Scan everything for viruses
<span>The client browser requests a page from a Web server.</span>
Answer:
learning tool. i may be wrong
Explanation: