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

shayla says that one kilometer is equal to one million millimeters. is She correct? explain why?
how do you simplify fractoins
Explain the statement that waves cause both constructive and destructive change to the shore line
Two ships leave whittier, Ak at 7 AM. The first ship sails towards Valdez on a 54° course at a constant rate of 36 mi/h. The second ship sails towards Knight is
The square of a certain negative number is equal to 5 more than one half of the number what is the number
a bicycle wheel travels about 82 inches in 1 full rotation. What is the diameter of the wheel, to the nearest inch? (use 3.14 for pi)
Two famous Elizabeth Blackadder paintings ?
Two ships leave whittier, Ak at 7 AM. The first ship sails towards Valdez on a 54° course at a constant rate of 36 mi/h. The second ship sails towards Knight is
A 36-tooth gear turns three times. It is connected to a 12-tooth gear. How many times does the 12-tooth gear turn?
How many electrons are in a carbon 13 (13c) atom?