0
java help
can someone explain why switching the ">" with "<" in x>myArr.length; x++) changes the output?
1 Answer
+ 2
The < means that x has to be smaller than myArr.length so it has the range of under it,
But if you change it to > than x has to be bigger than myArr.length so it has the range above that