kaitlyn5519 kaitlyn5519
  • 04-01-2019
  • Computers and Technology
contestada

Please check my answers! (Java)

Please check my answers Java class=

Respuesta :

tonb
tonb tonb
  • 05-01-2019

I think only II contains an error.

Tricky because, syntactically, all three are correct I.M.O.

However, if the goal is to iterate as many times as lotNumLength, then statement II loops one time too many. This is known as an off-by-one error.

Answer Link

Otras preguntas

Write a system of equations with a solution (4,–3)
Which of the following can be considered fossils? a. a 1 billion year-old rock. b. a 1 billion year-old piece of amber. c. a 1 billion year-old piece of amber w
What is the mean of 87, 93, 86, 90, and 84?
Find all powers of 4 in range 4 through 1,000
Which of the kingdoms has the smallest number of known species
What is the mean of 87, 93, 86, 90, and 84?
which state of matter has the least amount of energy?
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
The length of a diagonal of a cube with edge length 25cm
An airplane travels 3,260 kilometers in 4 hours. What is the airplane’s average speed?