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
marissa [1.9K]
3 years ago
7

Write code which takes inputs and creates two Rectangle objects (using the edhesive.shapes.Rectangle class) and compares them us

ing the equals method.
JAVA!!
Computers and Technology
1 answer:
iogann1982 [59]3 years ago
6 0

Answer:

System.out.println("Enter length:");

Scanner scan = new Scanner(System.in);

Double x = scan.nextDouble();

System.out.println("Enter 2 lengths:");

Double a = scan.nextDouble();

Double b = scan.nextDouble();

Rectangle rect = new Rectangle(x);

Rectangle rect2 = new Rectangle (a,b);

if (rect2.equals(rect)){

 System.out.print("Congruent Rectangles");

}

else {

 System.out.print("Different Rectangles");

}

 }

}

Explanation:

You might be interested in
Which of the following correctly revises the passive voice of the sentence above to active voice?
muminat

There is no question on the passive voice, therefore I cannot change it to an active voice.

I hope this helped!

6 0
3 years ago
Which commas is used to combine two or more cells together into one cell
AURORKA [14]
The command is Merge & Center
This command could be easily found in the toolbar of your excel.
If you execute this command in two different cells, those cells will be merged into one larger cell and the content in that cells will be placed exactly in the middle of the combined cell (measures according to combined cells' length)
5 0
3 years ago
Anyone here play sims 4 and know how to help me with his last exception file?
zysi [14]

Answer:

Explanation:

What game is this

3 0
3 years ago
What is an example of work performed by an integration platform as a service (ipaas)?
sladkih [1.3K]

Answer:

An example of work performed by an Integration Platform as a Service (IPaaS) is setting up and configuring cloud-based servers.

- IPaaS is the solution for hosting, developing, and integrating cloud data.

- With help of IPaaS, users can develop integration flows that connect applications that reside in the cloud.

- The best IPaaS solutions consist of easy graphic tools that help visualize. - It is also referred as cloud integration platform

- IPaaS has the ability to provide everything from data warehousing and infrastructure to DevOps environments and application design.

- IPaaS solutions blend services and tools into service-oriented architecture (SOA)

- This gives organizations the ability to share information and resources across applications.

Explanation:

3 0
2 years ago
Read 2 more answers
You've just deployed a new Cisco router that connects several network segments in your organization. The router is physically lo
djverab [1.8K]

Answer:

  • <u>Change the default administrative user name and password.</u>
  • <u>Use an SSH client to access the router configuration.</u>

Explanation:

<em>Remember</em>, we are told the default username and password were simply, <em>"admin"</em> and <em>"password"</em>. From a security perspective, both the password and username are weak choices. Hence, to increase the security of the notebook computer where the router configuration management interface is found, it is best you change the password.

Next, by using a Secure Shell Protocol (SSH) client to access the router configuration, the security is enhanced considering the fact the new Cisco router would connect several network segments in the organization.

5 0
3 years ago
Other questions:
  • You are in a library to gather information from secondary sources, and you want to find a current print resource that can supple
    6·1 answer
  • You are troubleshooting an IEEE 802.11 wireless client device that cannot connect to the wireless network. You notice the client
    14·1 answer
  • Explain how it makes you feel that you must share the road with others
    15·1 answer
  • A group of cells is called a<br><br> Excel
    5·1 answer
  • Have you ever tried to learn a new language or do you have friends who've had that experience? What are some of the steps you wo
    10·2 answers
  • What game is the best for racing and modifying cars
    10·1 answer
  • You have been hired by a small company to install a backbone to connect four 100base-T Ethernet LANs (each using one 24-port hub
    12·1 answer
  • The action displayed in the status bar while pointing-
    7·1 answer
  • If a database table is to hold data on 52 students it must have 52?
    12·1 answer
  • Who invented the first mechanical computer? in what year was it invented?.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!