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
4vir4ik [10]
3 years ago
12

Consider the following class:

Computers and Technology
1 answer:
Pachacha [2.7K]3 years ago
3 0

Answer:

c.return Integer.compare(value, otherTemp.value)

Explanation:

The compare() method as the name implies compares two integer values. If they are equal it returns 0, if the first number is smaller it returns -1, and if the first number is greater it returns 1.

It is an Integer class method that is why you need to type Integer.compare() to call the function.

For this example, the parameters that will be compared are <em>value</em>, and <em>otherTemp.value. </em>The type of compareTo method is an integer, we need to return the result.

You might be interested in
Which of the following is the best reason to use a macro?: *
marin [14]

Answer:c)You want to automate a repetitive task to save time

Explanation: Macro is the program that is utilized when there is a requirement of a task or operation to be repeated in a automatic way.This helps in saving the time without commanding the same operation to take place manually.

This program works by taking the into and generating the preset output sequence. Other options are incorrect because it does not help in email functions, correction of the citation in documents or generation of the table.Thus, the correct option is option(c).

7 0
3 years ago
To ensure rapid recovery and security of data, backup data should be ________.
Nataly [62]

Answer:B kept at a secure location at the facility

Explanation:

8 0
3 years ago
Class 7th Subject Computer all chapters 2nd page​
LenKa [72]

no.13 answer is( B ) and no.14 answer is also (B)

7 0
3 years ago
In researching his history report about the Civil War, why is Ariq most likely to use secondary data than primary data? Secondar
shusha [124]

Hello! Your answer is....

Secondary data is easier and less time consuming to fine.


I hope this helps, you are very pretty and have an awesome day!

8 0
3 years ago
Read 2 more answers
Write a short program using a while loop which will display all of the even numbers starting with 12 and ending with 86. (test y
BARSIC [14]
Lua

for i =12,86,2 do

print (i)
end
5 0
3 years ago
Other questions:
  • Can someone please help me with this question?
    12·1 answer
  • Which of these is a major mobile game developer?
    15·2 answers
  • What is a way to Procter your social security number and other sensitive information from identity theft
    9·1 answer
  • You disassemble and reassemble a desktop computer. when you first turn it on, you see no lights and hear no sounds. nothing appe
    11·2 answers
  • Which of the following is a valid format symbol in Microsoft Excel? Dollar Sign, Comma, Percent Sign or all of them? I can't fig
    14·1 answer
  • Click _______ to view each individual record of a mail merge document.
    5·2 answers
  • What resources can be shared over a computer network?
    12·2 answers
  • What is earning potential?
    10·1 answer
  • How to be good at photography?
    5·2 answers
  • How many of yall are willing too sub to my channel called "Space Juice" with around 200 subs?!​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!