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

During which stage of meiosis is the diploid number of chromosomes reduced to haploid
What is a wet land? ( an ecosystem...)?
an exterior angle at the base of an isosceles triangle is always 1: obtuse2:acute3: rightFIRST TO ANSWER GETS THE BRAINLIST ANSWER
Which of the following is true? A. The cultural context of two texts can be compared and contrasted by asking questions about the values and customs of the
I need help with the Question D:
Monarchy that is considered democratic because ultimate authority is held by elected officials
I need help on a and b
What was the name of the scientist who experimented with snow peas to learn about genes and genetics
Which of the following is not a way that the great depression affected families? a. some people left home so that their younger brothers and sisters could have
Monarchy that is considered democratic because ultimate authority is held by elected officials