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

Use the arrangement of particles in solids and gases to explain why solids are not as easy to compress as gases.
what is feudal society​
pls answer giving brainlyist
Why can’t we use the units of measurement used on earth?
Read the excerpt from Martin Luther King Jr's "I Have a Dream" speech But one hundred years later, the Negro still is not free. One hundred years later, the lif
ANSWER IN OPTION A B C OR D WITH THIS QUESTION
What is Gross Rent?​
By establishing judicial review, John Marshall A.limited The number of justices on the court. B.An active term limits on the presidency. C. Place limitations
When you hold a container, where should the label be?
Translate Latin to English ego et servus in casam fabrī intrāvimus.