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
Name 5 types of providers who use professional billing. ​
guapka [62]
Physicians, Non-Physician Practitioners, Ambulance Services, Radiology Services, Laboratory Services.
8 0
3 years ago
Write a brief note on MALARIA.!!​
ivann1987 [24]

<em><u>Answer:</u></em>

Malaria is a life-threatening disease. its tightly transmitted through the bite of an infected anopheles mosquito. When this mosquito bites you the parasite is released into your bloodstream.

When the parasite is inside your body they travel to the Liver, they mature and after several days they affect your red blood cells.

<em><u>SYMPTOMS OF MALARIA.</u></em>

a) Chills

b) High fever

c) Headache,e.t.c.<em><u /></em>

4 0
3 years ago
Easy!! In at least to complete sentences give two disadvantages of using the DSM and explain how it can negatively impact indivi
Neko [114]

Answer:

Explanation:

Two disadvantages of using the DSM are, it oversimplifies human behivior and increses the risk of misdiagnosis. That negatively impacts individuals becuase (you   didnt put anything here so just add your answer ig)

hope this helped!

7 0
4 years ago
Which treatment is WRONG when there is severe toxicity of digoxin?
ss7ja [257]

Answer:

The correct answer is option D. give furosemide.

Explanation:

Digoxin is a drug that uses in the cardiovascular condition. It inhibits the Na-K ATPase enzyme, which functions to maintain the intracellular environment by regulating the entry and exit of sodium and potassium.  

Digoxin toxicity may occur due to the low level of potassium (inside the cell)due to the inhibitaion of the sodium-potassium pump.  Furosemide is a diuretic drug that decreases salt concentration (such as ions) in the body by increasing urine output. and causes a low level of potassium in the body

Thus, furosemide increases digoxin toxicity as during low levels of potassium, digoxin can easily bind with the sodium-potassium pump and shows severe effects.

8 0
3 years ago
Does hydroxychloroquine work?
Katarina [22]

Answer:

yes

Explanation:

3 0
4 years ago
Read 2 more answers
Other questions:
  • 94. Arthritis symptoms develop:
    14·1 answer
  • Overregulation is a common error among children learning to speak a
    8·2 answers
  • Prescription drugs should only be taken when prescribed to you, and taken as written on the prescription. Question 5 options: Tr
    13·2 answers
  • In order from less complex to complex to more complex, which level of organization is directly after tissue?
    7·2 answers
  • Explain in detail how educational institutions and personal ideology affect the influence of contemporary
    12·1 answer
  • 8. Immediately after leaving the left atria, blood enters which structure of 4 points
    6·1 answer
  • Do you think it is ok to use a Donor’s Egg or Sperm to Conceive a Child? Explain why or why not.
    6·1 answer
  • The nurse is performing an assessment on a client who has just been told that a pregnancy test is positive. Which assessment fin
    15·1 answer
  • A patient is renting a walker during recovery from hip surgery. Which code set is used to indicate the item received
    8·1 answer
  • In which situation would the nurse consider family members as the primary source of information?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!