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
VashaNatasha [74]
3 years ago
8

Design and implement your own simple class to represent any household item of your choice (toaster, fan, hair dryer, piano ...)

Your class should have a constructor, one additional method and at least one member variable (e.g. boolean isOn to turn the item on or off). Be sure you demonstrate your class works properly by constructing an instance of it and calling your method.
Medicine
1 answer:
jeyben [28]3 years ago
7 0

Answer:

public class Fan {

/** Main method */

public static void main(String[] args) {

 final int SLOW = 1;  // Fan speed slow

 final int MEDIUM = 2; // Fan speed medium

 final int FAST = 3;  // Fan speed fast

 // Create two Fan objects

 Fan fan1 = new Fan();

 Fan fan2 = new Fan();

 

 fan1.setSpeed(FAST);

 fan1.setRadius(10);

 fan1.setColor("yellow");

 fan1.turnOn();

 

 fan2.setSpeed(MEDIUM);

 fan2.setRadius(5);

 fan2.setColor("blue");

 fan2.turnOff();

 System.out.println(fan1.toString());

 System.out.println(fan2.toString());

}

}

You might be interested in
The general function of both sets of valves in the heart is to prevent blood from flowing back to the chamber it just left.
Oksanka [162]

Answer:.......

a.True

4 0
3 years ago
when preparing a multigravid client who has undergone evacuation of a hydatidiform mole for discharge, the nurse explains the ne
masya89 [10]

When preparing a multigravid client who has undergone evacuation of a hydatidiform mole for discharge, the nurse explains the need for follow-up care and the client is said to understand it when she says that she is at risk for developing choriocarcinoma.

<h3>What is Choriocarcinoma?</h3>

This is defined as a medical condition which is characterized by a fast-growing cancer that occurs in a woman's uterus. This type of cancer affects the placenta in most situations and it is the organ which supplies food and other nutrients from the woman to the fetus.

In a situation where the individual had hydatidiform mole which is the abnormal growth of trophoblasts which are tissues which form the placenta then there is a likelihood of her having choriocarcinoma in this scenario.

Read more about Placenta here brainly.com/question/1604269

#SPJ1

6 0
1 year ago
While taking a patient’s medical history, Susan asks about his social history. She asks whether he drinks alcohol. The patient i
RoseWind [281]

Answer:

okok so

Explanation:

a: explain that its simply for the records and not to judge or conifine him in anyway.

b: yes, she may suspect him to be a acoholic of somekind

3 0
3 years ago
During an orientation class, the medical unit's nursing educator is presenting education on transcultural nursing to a group of
Olenka [21]

Answer:

The underlying focus of transcultural nursing is to provide culture specific and culture universal care

Explanation:

Transcultural nursing is professional nursing interacts with the concept of culture, based in anthropology and nursing . It also means being sensitive to cultural differences as you focus on individual patients, their needs, and their preferences .

4 0
3 years ago
Based on your understanding of the scenario why did the pharmacologist think that the experimental medication was effective
FrozenT [24]
I need more information to answer the question
4 0
3 years ago
Other questions:
  • If someone is bitten by a poisonous spider, which neurotransmitter causes muscle spasms and
    9·1 answer
  • 6. The patient is recovering from an ileal conduit surgery due to bladder cancer. Which of the following describes an ileal cond
    5·1 answer
  • A client appears very drowsy at bedtime and is difficult to arouse. The client is receiving halcion 0.25 mg PO at bedtime. Based
    12·1 answer
  • what is the answer ________________effects on the body are become very aggressive, paranoia, hard to sleep, increases heart rate
    7·2 answers
  • A/An is a type of blood cell that's also called a red blood cell. a) Jeukocyte O b) thrombocyte c) plasma d) erythrocyte
    5·1 answer
  • Differentiate between subjective and objective observations.
    7·1 answer
  • How to tell if your thumb is broken or just jammed.
    11·2 answers
  • When assuming the management of the care of a delusional client, which should be the nurse's priority intervention?
    8·1 answer
  • due to the differences in training, an osteopathic physician would probably have more experience dealing with which condition th
    9·1 answer
  • A person has resigned from their nursing assistant position at a hospital but continues to volunteer sixteen hours per
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!