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
Which type of injection is most likely to be necessary for the medical assistant to perform when working with an immunologist
strojnjashka [21]

Answer:

Desensitizing injections

Explanation:

6 0
2 years ago
Why do pharmacy technicians require additional training beyond the initial on the job training?
Effectus [21]

Answer:

The profession has grown and there are degrees that prepare budding techs to enter the field. There are also national certifying exams, which require preparation and study. As a result of all these demands, formal pharmacy technician's training is increasingly important.

Explanation:

6 0
4 years ago
Common bile duct is formed from the union of the _________________ duct and ________________ duct.
Stolb23 [73]

Answer:

Common bile duct is formed from the union of the <u>Common hepatic duct </u>and <u>cystic duct.</u>

Explanation:

The common bile duct ( CBD )  

It is in the form of a small tube like structure .

It is present at the junction of the cystic duct and the common hepatic duct.  

The major function is to carry the bile from gallbladder and empty it into the upper part of the small intestine.

Bile is a fluid that helps to digest fat from food .Bile is produced by the liver and stored in the gallbladder , and as the food enters small intestine , bile travels via the common bile duct and reaches small intestine and get mixed with the food.

Hence,  

Common bile duct is formed from the union of<u> the Common hepatic duct </u>and <u>cystic duct.</u>

3 0
4 years ago
Digital imaging is faster than analog imaging<br><br> true or false
Sunny_sXe [5.5K]
Analog image processing is a slower and costlier process. Digital image processing is a cheaper and fast image storage and retrieval process. Analog signal is a real-world but not good quality of images. It is generally continuous and not broken into tiny components FALSEEEEEEEEEEE
4 0
3 years ago
Read 2 more answers
A co-worker cut his wrist on a bandsaw and is bleeding severely. Blood is spurting from an arterial bleed. Direct pressure is no
Mandarinka [93]

Answer:

- First, place some gauze pads or a clean cloth on the wound and hold for 10 minutes.

- If the gauze or cloth becomes soaked with blood, without removing it, place another on top and continue pressing for another 10 minutes.

- If the blood does not stop flowing, place the wound raised upwards to avoid excessive bleeding.

While you call an Emergency Ambulance.  

Explanation:

Bleeding usually occurs from a cut or trauma that causes the blood vessels to break.

An arterial hemorrhage occurs when the outflow of blood comes from the circulatory system to the outside caused by the rupture of an artery.

Until the artery closes or the wound is cauterized, blood is likely to continue to flow until the person shows symptoms of confusion, slow heart rate, and shock that ultimately leaves the person to bleed to death.

8 0
3 years ago
Other questions:
  • 5. What is lactational amenorrhea? What is its evolutionary and demographic significance? Why might it work better as a contrace
    7·1 answer
  • Unattached earlobes (EE or Ee) are described in the textbook as dominant over attached earlobes (ee). A couple both have unattac
    7·1 answer
  • Diagram a graph of a twitch and label: latent period, contraction, and relaxation of a twitch.
    12·1 answer
  • La bolsa sinovial (hombro) es un organo?
    10·2 answers
  • LIFE SUCS SOMETIMES<br> ¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯<br> ( •_•)&gt;⌐■-■(⌐■_■)
    7·2 answers
  • in the united states insurance companies can deny coverage to people who are sick or how have "pre-existing conditions" and they
    7·1 answer
  • Here is a free question for brainlyist
    13·2 answers
  • During a medical emergency, the dentist and staff are responsible for providing emergency care until:
    14·1 answer
  • A patient with a serum calcium of 6.0 (norm = 8.5- 10.5) is most likely to ______ because_______.
    11·1 answer
  • An examination or test of a patient who has no signs or symptoms that is conducted with the intention of finding any evidence of
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!