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

Which period was the “golden age of dinosaurs”? a. the Triassic Period b. the Jurassic Period c. the Cretaceous Period d. the Tyrannosaurus Period
What were some events/things that caused the Great Depression?
which explorer sailed for france?
3x+y=4 2x+y=5 solve using linear combination
Please I have the answers I just want to double check them and Solvekey: B=42  A=93  N=29  X=361. (b-7)(2b-7)2. (4a-4)(5a-7)3. (5n-6)(4n+7)4. (2n=8)(8n+3)5. (6x
Which period was the “golden age of dinosaurs”? a. the Triassic Period b. the Jurassic Period c. the Cretaceous Period d. the Tyrannosaurus Period
How many grandparents have my grandparents? who can solve it is very good on maths! it is just a lpgic problem! i know the answer :)
A tree was chopped down and cut up in a local forest.The tree changed in shape.What kind of change took place?A.chemical changeB.physical change C.phase changeD
What were some events/things that caused the Great Depression?
Which of the allies suffered the greatest losses on D-Day