msketchy msketchy
  • 17-12-2017
  • Computers and Technology
contestada

What is output by the following code?

System.out.print(21.0/5);


1. 3.5
2. 5.5
3. 4
4. 4.2
5. 5

Respuesta :

TheRealBattlesquid
TheRealBattlesquid TheRealBattlesquid
  • 17-12-2017
Division in Java will return the integer value and disregard the remainder. This line of code will return 4.

:)
Answer Link

Otras preguntas

What is the volume of the prism
In the parallelogram shown, find x.
a different enzyme controls each step of? photosynthesis the Krebs cycle glycolysis none of the above
Which phrase correctly completes this conversation? Renaldo: ¿Qué estás escribiendo? Eric: _______________ una carta a mi abuela.
Type the correct answer in each box. Use numerals instead of words. If necessary, use / for the fraction bar(s).
Wagner claimed that the future direction of music was
1. Describe three ways to represent a function. Show an example of each 2. Describe two methods for determining whether a relation is a function 3. Draw the
find the area of the circle. (nearest hundredth)
explain why muscle cramps might be more dangerous for a swimmer than a jogger
A car dealer made 35% of his annual car sales during the months of April and May. If he sold 133 cars during these months, how many cars did he sell during the