Wow never mind apparently Junky posted right after me.
You will need to pick some arbitrary value that you return if nothing is found, such as a negative number. I would also recommend not saying...
Type: Posts; User: Tjstretch
Wow never mind apparently Junky posted right after me.
You will need to pick some arbitrary value that you return if nothing is found, such as a negative number. I would also recommend not saying...
You might want to look into break.
Break Statement in Java,Java Break Statement,Java Break Example