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
gizmo_the_mogwai [7]
3 years ago
12

11) Write the definition for a child class of Circle named Cylinder. The cylinder should have a double attribute named height. T

he constructor of the child class should take parameters to initialize the attributes. The class Cylinder should also include getter and setter method as well as an equals method that returns true if two cylinder objects have same dimensions and false otherwise. Remember to override method where needed.
Computers and Technology
1 answer:
insens350 [35]3 years ago
8 0

Answer:

See explaination

Explanation:

//Cylinder.java

public class Cylinder extends Circle {

private double height;

public Cylinder(double h, double r) {

super(r);

setHeight(h);

}

public double getHeight() {

return height;

}

public void setHeight(double height) {

this.height = height;

}

public boolean equals(Object o) {

if (this == o) return true;

if (!(o instanceof Cylinder)) return false;

Cylinder cylinder = (Cylinder) o;

return Double.compare(cylinder.height, height) == 0 && Double.compare(cylinder.radius, radius) == 0;

}

}

You might be interested in
Why can’t web apps send notifications to a device’s taskbar when the app is closed?
tangare [24]
Web apps can't send notifications when it's closed because it is not installed into the device as a software program, meaning it doesn't have enough access to do so. Plus you are closing it down so how is something that you close down supposed to work?
8 0
4 years ago
Data as a service began with the notion that data quality could happen in a centralized place, cleansing and enriching data and
saul85 [17]

Answer: True

Explanation:

 Yes, the given statement is true that the data as the service model basically describe about the data quality which could be happened in the centralized place and also enriching the given data. It also offer the data services to the different types of users, system and applications.

 The data as a service (DaaS) is similar to the software as s service. The DaaS concept is that it is provided according to the requirement of the user such as data and information of the different types of product and services.

 It is technically known as the web delivering service which is offer by the cloud manager and its also perform various types of function.  

7 0
3 years ago
9. Government and corporate officials concerned about security threats do not bring their own cell phones or laptops when travel
tatuchka [14]

Answer:

True

Explanation:

It is known as Don-Not-Carry rules are implemmented to avoid

-Unauthorized full disk copies (it have been made while the laptop owner was out of the hotel room on overseas travel)

-Laptops steals

- Monitoring by third parties of wireless using.

3 0
3 years ago
Write a definition in your own words for intranet. Please don't copy and paste.
dusya [7]

Answer:

An Intranet is a communication network, usually, a private network that was created using the World Wide Web software.

Explanation:

3 0
3 years ago
Read 2 more answers
Why is Resnick skeptical of calling the young people of today ‘digital natives’? Do you agree? Explain.
Nezavi [6.7K]

For question one, Resnick skeptical of calling the young people of today 'digital natives' will have to be agree. For agreeable reasons is because people who are called "digital natives", is because they are in a technological state that they are familiar with. Which means that if young people are in a state of technology and they are really into it, you have this unbreakable string tied to the waist and it hangs into you from a tree.  And for reason two, is because coding can be helpful. In situations like people hacking you, with coding, now that is when it comes in.

And for the others, I'll have to look at some more information I might have. But, here is your first answer is up above, If it isn't good enough, then let me know.

Hope this helps.

~Karleif

3 0
4 years ago
Other questions:
  • Is a type of software program used to write code and develop other
    9·1 answer
  • An increase in Consumption will ___________ in the Classical Model of Aggregate Demand.
    13·1 answer
  • Which quality of service (QoS) mechanism provided by the network does real-time transport protocol (RTP) rely on to guarantee a
    13·1 answer
  • How do you make electricity
    10·1 answer
  • (40 pointsAnd brainliest answer ASAP) Maria is recording her friend’s graduation ceremony. How can Maria ensure that the video i
    15·1 answer
  • Spreadsheets will be displayed as tables in presentations.True or False?
    6·2 answers
  • Employers and recruiters rarely use the Internet to search for personal details about applicants.
    9·1 answer
  • The scope of a variable declared inside of a function is:
    9·1 answer
  • Please help me answer this question
    8·1 answer
  • Which option describes a balanced slide?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!