Hello everyone,
First time posting here and I'm very new to learning
java. I have read through forums and I hope I'm using the code tag correctly here.
My question is regarding this snippet of code. The full code is after this. In this snippet how is the value of "length" being set or determined? I don't understand how we know if x is less than or greater than myDogs.length . I hope my question makes sense. This is from the Head First Java book , Chapter 3.
Thank You very much.