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

Solve for x. Solve for x. Solve for x. Solve for x. Solve for x.
Which of the following is the correct solution set of the equation x⁴ - 5x² + 4 = 0? A. (1,4) B. (-4,-1,1,4} C. {1,2} D. (-2,-1,1,2}​
The functions f(x) and g(x) are graphed. f(x) 32 -6-5-4-3-2-1₁. 2 3 4 5 6 x 787 49 -2 -3- -4 g(x) -5 Which represents where f(x) = g(x)? Of(0) = g(0) and f(2) =
The person shown below is making a? A Cross Cut B. Bevel Cut C Offset Radial Cut D E Rip Cut Compound Miter Cut
One example of where an employee would need to be aware of the differences between two countries and a business setting
What aspect of equal Protection did the supreme courts Considered when ruled against segregation public schools
IXL for English class.
this is due in 30 min pls help
If earth's axis were oriented at 90 degrees from the orbital plane, predict what would be different about the events on Earth on a daily and yearly time scale.
Which of the following is a common characteristic of a binomial distribution? (4 points) a There are more than two possible outcomes. b The probability of s