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
shepuryov [24]
3 years ago
8

What is the output of the following program?

Computers and Technology
1 answer:
wlad13 [49]3 years ago
4 0

Answer:

$600

Explanation:

You might be interested in
Although saying "Cylinder IS A Circle" doesn't make sense, it can be implemented in Java using inheritance in a legitimate way.
allochka39001 [22]

Answer:

I've included in the codes the area to circle and volume to cylinder. The Volume method that was used, area() to compute, the volume of cylinder which shows that cylinder is an expansion of circle with an extra dimension (height)

Explanation:

Temp is tester class

public class Temp {

   public static void main(String[] args) {

       Circle c = new Circle(7);

       System.out.println("Area of circle with radius 7 is "+c.area());

       Cylinder c1 = new Cylinder(7,10);

       System.out.println("Cylinder volume with radius 7 and height 10: "+c1.volume());

   }

}

----------------------------------------------------------------------------------------------------

class Circle{

   int radius;

   Circle(int r){

       radius=r;

   }

   double area(){  //area of circle

       return 3.14*radius*radius;

   }

   public int getRadius() {

       return radius;

   }

   public void setRadius(int radius) {

       this.radius = radius;

   }

}

class Cylinder extends Circle{

   int height;

   Cylinder(int r, int h){

       super(r);

       height=h;

   }

   double volume(){  //volume of cylinder

       return area()*height;

   }

   public int getHeight() {  //accessor

       return height;

   }

   public void setHeight(int height) {  //mutator

       this.height = height;

   }

}

8 0
4 years ago
1) व्याख्या गर
Maksim231197 [3]

Answer:

त्यसोभए वास्तवमा प्रश्न के हो?

Explanation:

8 0
3 years ago
Question 7 (1 point)
Vlada [557]

Answer:

technical knowledge

Explanation:

8 0
3 years ago
What network device directs network traffic?
8_murik_8 [283]
Switches

Switches are more complicated in that, unlike hubs, they manage network traffic instead of just broadcasting signals.

Each message sent by a computer or peripheral will contain information about which computer it comes from, and which it's meant for, and the switch makes sure the message gets to the correct destination on the local network. If Computer A sends a message to Computer D, a switch will make sure that Computers B and C don't receive it.
7 0
3 years ago
Crops Grown in Louisiana 1969
insens350 [35]

Answer:

Sugar cane is the leading farm product in Louisiana. Other important crops are rice, soybeans, cotton, and corn for grain

Explanation:

on internet

8 0
3 years ago
Other questions:
  • General Hardware Products Your boss, the IT director, wants you to explain FDDs, BPM, DFDs, and UML to a group of company manage
    13·1 answer
  • How can I get a refund of my money back
    12·2 answers
  • What should you do to protect your copyright
    7·1 answer
  • How would you like your social media profiles/personas to be treated in the event of your death? why?
    6·2 answers
  • Which of the following is the most accurate description of what is known as the "digital divide". The digital divide is about ho
    5·2 answers
  • kieran wants to search a database quickly for information on the last time a patient came to his medical facility.The informatio
    14·2 answers
  • Before her shift as a cashier at the grocery store, Carla pulls her hair back into a ponytail and makes sure her fingernails are
    15·2 answers
  • Discuss how social media can affect social movements and social change.
    13·2 answers
  • We can save our data peremently on a
    7·2 answers
  • In a(n) ____________________ device, the movement of electrons performs essentially the same functions as gears and wheels in me
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!