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

Elizabeth always did this. she would leave her homework until the very last second and then get mad at herself because she had to cram to get it done. she was i
Identify the Figurative Element from the story: the seat of the trousers shone like a piece of tin
Please solve this in fully simplified slope-intercept form
The scores on a certain standardized test follow a normal distribution. the mean score is 74, and the standard deviation is 6. between which two values do appro
n d18... int L GH is tangent to circle F at point L. Find m GO 124 58 mLJ=112 (Type an integer or a decimal. Do not include the degree symbol in your answer.) O
Can you describe how the united states experienced industrial growth in the late 19th century?
you are required to create a drawing in auto CAD what are the step that you will take up until you save adrawing (create a block diagram of that process)​
Energy Source Coal Oil Natural Gas Nuclear Solid Waste (W.T.E.'s) Solar Wind Geothermal Hydroelectric Tidal Biomass Hydrogen Fuel Cells Nuclear Fusion Gas Hydra
A printing company needs to ship 41 team calendars to the city's basketball team. The printing company can fit 16 calendars in each box. How many calendars will
⦁ What is the perimeter of the triangle?