1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
forsale [732]
3 years ago
11

Assume the existence of an abstract class named DesktopComponent with the following: a void (abstract) method, onClicked, that a

ccepts no parameters. a (private) string named type, describing the sort of Desktop component (e.g. window, icon, taskbar, etc). a constructor accepting a string that is used to initialize the type instance variable Write the definition of a subclass, named Window with the following: A. a constructor that invokes the DesktopComponent constructor passing it that value "Window" for the type. B. an onClicked method that prints out the message "Window selected" to System.out
Physics
1 answer:
Natalka [10]3 years ago
8 0

Answer:

public class Window extends DesktopComponent {

public Window() {super("Window");}

public void onClicked() {System.out.println("Window selected");}

}

Explanation:

You might be interested in
Show that the input and output work done by the pistons is the same during "Pascal's principle" derivation
JulijaS [17]

Answer:

I dint no is the answer of the puatinfn

6 0
3 years ago
Read 2 more answers
When a ball is thrown in the air, the potential energy gained must come from the kinetic energy given by the person throwing the
vodka [1.7K]
I believe it is C. remain the same. If i am wrong i sincerely apologize.
3 0
3 years ago
Read 2 more answers
9. Which of the following characteristics of water is most responsible for the sinking of the Titanic? A. Water is liquid at roo
lozanna [386]

Answer:

D. Frozen water is less dense than liquid water.

Explanation:

Titanic sank in the North Atlantic Ocean in the year 1912. There were more than 2000 passengers on board from which about 1500 died.

Frozen water that is ice has less density than liquid water. The density of ice is 0.9167 g/cm^3 and the density of the water is 0.9998 g/cm^3.

Due to this very slight difference in density, ice floats on water. Titanic, on the night of April 14, 1912, crashed into an iceberg around midnight which caused opening of 5 of its watertight compartments. The water filled into the ship and it eventually sank in.

8 0
4 years ago
A traveler first drives 21.0 km east, then 29.1 km southeast, and finally 10.3 km south. Find the traveler's total displacement.
Vinvika [58]

The traveler's total displacement is 53.2 km.

The shortest distance between a particle's starting position and destination is referred to as its displacement vector. Displacement has a distinct physical magnitude than distance. Let's use the motion of a particle making a complete circle as an example. The displacement in this motion is zero, yet the distance traveled is equal to the circle's circumference. The individual displacement vectors are as follows: d1

=22^ikm→d2

= (29.7cos45i29.7sin45) kmd3=104jkm

The traveler's complete disadvantage is,

→d=→d1+→d2+→d3→d

=22^ikM+29.7

cos45^−29.7sin45o) km−10.4^j km→

d=(43^i−31.4^j) km

The magnitude of the total displacement is,

d=√432+31.4/2Km d≈53.2km

The direction is,

θ=tan−1(−31.4/43)

θ=−36.1or 36.1 south of east.

Learn more about displacement here-

brainly.com/question/11934397

#SPJ9

7 0
2 years ago
Anyone know what type of circuit this is?
Oksana_A [137]

Answer:

C

Explanation:

BECAUSE ITS GOING ON AND ON IF ITS NOT CORRECT I WILL VOTE YOU BRAINLEST ON MY QUESTION

3 0
3 years ago
Other questions:
  • What is the speed of a bobsled whose distance-time graph indicates that it traveled 119m in 27s
    12·1 answer
  • Which of the following nations was a member of the Axis powers during World War II?
    5·1 answer
  • What energy powers the star throughout its life?
    14·1 answer
  • If the spinning speed of the earth is increased, then the weight of the body at equator
    9·1 answer
  • A sling psychrometer works because the amount of cooling that occurs in the wet bulb is directly proportional to the ----- of th
    6·1 answer
  • Helppp!!
    10·1 answer
  • True of false. An advantage of electromagnets is they can be switched on and off.
    10·2 answers
  • Which factor is a component of skill-related fitness?
    5·1 answer
  • a 30 kg cart is travelling in a zero friction environment at a constant velocity of 5m/s. It's about to go up a very steep hill.
    12·1 answer
  • A object travels at constant negative acceleration. What does the graph of the object's velocity as a fun
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!