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

8k/3=32 ??? How do i solve this???
what is an expression that describes the relationship between each input and output
Which substance can not be decomposed by a chemical change? (1) AlCl3 (3) HI (2) H2O (4) Cu
In which process does a solid change directly into a vapor? (1) condensation (3) deposition (2) sublimation (4) solidification
Which of these contains only one substance? A. distilled water B. sugar water C. saltwater D. rainwater
what is a 4 sided shape called?
What is the purpose of archaebacteria?
Why does the Harlem Renaissance hold such significance in US history despite its fading influence during the Great Depression?
In which compound does chlorine have the highest oxidation number?(1) NaClO (3) NaClO3(2) NaClO2 (4) NaClO4
1. During World War I, the increase in home gardens was an example of which of the following? A. campaigns to overcome shortages caused by ships being sunk B. c