Solution:
It is important because, it has to do operation on so without, data structures and algorithms.
It performs these operation:
1)Take an input
2) Process it
3) Give back the output.
The input can be in any form, for ex while searching for directions on google maps, the starting point and the destination as input to google maps, while logging in to any social sites, We have to give our email and password as input and so on.
Similarly, in the third step, the computer application gives us output in some form or the other.
To make this process efficient, we need to optimize all the three steps.
ayo it's pretty sweet lma.o.
Answer:
depends is it just a survey? because if it doesent matter about the questions ou can do basic quuestions such as "what is your favorite video games" or "what is your favorite food"?
Explanation:
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.