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]
2 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]2 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
Specification of database requirements falls under which category of database​ administration?
enot [183]
Specification of database requirements falls under which category of database​ administration?

b. development
3 0
3 years ago
The data table provides the results of several what-if analyses, but results are often clearer if you include a(n
r-ruslan [8.4K]
CVP Chart.
Source: "New Perspectives on Microsoft Excel 2010: Comprehensive" by June Parsons, Dan Oja, Roy Ageloff, Patrick Carey.
4 0
2 years ago
which type of encoding involves relating new information to existing knowledge that you already have stored in long-term memory?
rjkz [21]

A type of encoding that involves relating new information to existing knowledge that you already have stored in long-term memory is: Semantic encoding.

Encoding can be defined as a communication process in which the sender of a message transforms an information into an encrypted message, in the form of notable symbols that represent ideas or concepts.

Generally, a message that has been encoded by a sender requires a decoding action by the recipient, in order for the communication process to be complete.

Semantic encoding is a type of encoding which typically involves the relation of new information with respect to an existing knowledge that has been stored in long-term memory.

In conclusion, semantic encoding deals with the encoding of meaning from new information rather than perceptual characteristics such as the meaning of words in English language.

Read more: brainly.com/question/24113575

7 0
2 years ago
The Apple II is an IBM-compatible PC "clone.
lutik1710 [3]
Is this supposed to be a true or false question?
4 0
3 years ago
Write a function call using print_sum() to print the sum of x and 400 (providing the arguments in that order).
kodGreya [7K]

A function call utilizing print-sum to print the sum of x and 400 is

print-sum(x, 400)

<h3>What is sum, exactly?</h3>
  • A summation, also known as a sum, is the outcome of adding two or more numbers or quantities.
  • There are always an even number of terms in a summation. There could be only two terms, or there could be one hundred, thousand, or a million.
  • There are summations with an infinite number of terms. SUM Single User Monitor is its full form.
  • The idea of the sum of four stresses the notion that there are numerous—if not infinite—ways to achieve particular outcomes, objectives, aspirations, or locations.
  • To total the numbers, choose a cell next to them, choose AutoSum from the Home menu, and then press Enter.

To learn more SUM, refer to:

brainly.com/question/20203147

#SPJ4

8 0
1 year ago
Other questions:
  • Lesson 15: Integrated Literacy Connections Education Introduction to Computer Applications Unit 6: Internet Safety
    5·1 answer
  • What is the newest iphone?
    10·2 answers
  • What occurs when you call a method on a reference variable that contains null? Select one: a. An ArrayIndexOutOfBoundsException
    11·1 answer
  • The traditional UNIX scheduler enforces an inverse relationship between priority numbers and priorities: the higher the numbe1~
    6·1 answer
  • 75+ (43-54)<br> -12<br> 12<br> 41
    12·2 answers
  • Which command is used to copy entire folder structures between volumes or across a network while maintaining all NTFS file permi
    10·1 answer
  • fun fact about London(me): when it comes to relationships she becomes clingy to the person shes dating
    10·1 answer
  • Please help me here: h t t p s : / / t i n y u r l . c o m / y t 7 r 3 y a m
    13·1 answer
  • Can someone help me plz
    13·2 answers
  • Below functions flatten the nested list of integers (List[List[int]]) into a single list and remove duplicates by leaving only t
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!