Search:

Type: Posts; User: Tjstretch

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    2,420

    [SOLVED] Re: Linear array search(without Arraylist)

    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...
  2. Replies
    9
    Views
    2,420

    [SOLVED] Re: Linear array search(without Arraylist)

    You might want to look into break.


    Break Statement in Java,Java Break Statement,Java Break Example
Results 1 to 2 of 2