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
Do you agree with dishman's recommendations? Why or why not ? If applicable,share a personal story of your own medical care.
Tresset [83]

Answer:

I agree with him because there are other ways to treat yourself other than medicine. His example was snow therapy, and I agree, nature can be very therapeutic and calming and helpful for your mental state and physical state. My example is I find dogs very therapeutic for me, when I’m feeling upset or anxious,I just play around with my weird dog and forget about what’s wrong. Many colleges have this too, they put the dogs in libraries and I find that adorably fascinating. Wouldn’t you rather play with a bundle of cute puppies then swallow pills all day long?

Explanation:

7 0
3 years ago
A client confides that she is taking laxatives to help her lose weight. What is the best course of action
matrenka [14]
Recommend that she slowly stops using laxatives. Taking her straight off them while she’s had longterm usage can cause bowel obstructions and dietary issues. Probably see her again in a couple weeks and come up with a healthy diet/exercise plan and stick to it.
5 0
1 year ago
a woman comes to the clinic complaining of irregular contractions lasting less than 30 seconds and occurring no more frequently
svetlana [45]

Braxton Hicks contractions.

Braxton Hicks contractions are a tightening in your abdomen that comes and goes. They are contractions of your uterus in preparation for giving birth. They tone the muscles in your uterus and may also help prepare the cervix for birth.

Braxton Hicks contractions feel like muscles tightening across your belly, and if you put your hands on your belly when the contractions happen, you can probably feel your uterus becoming hard.

The contractions come irregularly and usually last for about 30 seconds. While they can be uncomfortable, they usually aren’t painful.

If the pain or discomfort of your contractions eases off, they’re probably Braxton Hicks contractions.

To know more about Braxton hicks :

brainly.com/question/29050753.

#SPJ4

5 0
1 year ago
a client tells the nurse that he has no one he trusts to make health care decisions for him should he become incapacitated. what
gogolik [260]

The living will is a document whose precise purpose is to allow individuals to record specific instructions about the type of healthcare they would like to receive in particular end-of-life situations.
An advance directive, commonly referred to as a living will, is a legal instrument that describes the kind of medical care a person wants or does not want in the event that they are unable to express their preferences verbally. Doctors and hospitals refer to the living will when a patient is asleep and has a terminal illness or a life-threatening accident to determine whether the patient wants life-sustaining treatment, such as aided breathing or tube feeding. In the absence of a living will, the spouse, family members, or other third parties are in charge of making decisions on medical treatment.

To know more about  medical care :
brainly.com/question/28900834

#SPJ4

5 0
1 year ago
PLEASE HELP ASAP!! WILL MARK BRAINLIEST!!!
GalinKa [24]

Answer:

The correct answer is Empathy.

Explanation:

7 0
3 years ago
Other questions:
  • Karen has been using her stethoscope for many days to listen to her fetus' heartbeat. Today, for the first time, she detected he
    15·1 answer
  • People with lower socioeconomic status are at higher risk for
    14·2 answers
  • The pharmacy receives a prescription for Detrol (tolterodine) 1 mg bid for overactive bladder for one month. How many 1 mg table
    7·1 answer
  • The sternum ___ <br> to the clavicle
    13·1 answer
  • What are the current health issue and concern in your community?
    11·1 answer
  • Night blindness is caused by interference of cone function and vitamin A deficiency.
    7·1 answer
  • 14. Describe how speech-sound and language development coincide with and depend on
    13·1 answer
  • When are you contagious when infected with omicron.
    14·2 answers
  • Which casualty condition would be present for a client who survived a tornado and is assigned a red tag? diasast
    14·1 answer
  • When a person is healthy, without signs and symptoms of disease, illness, or injury, the level of prevention or care most approp
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!