Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Won't display its Location for Linear Searching.

    Here are examples:
    import java.util.*;

    // demonstrates finding values in an ArrayList using indexOf() and iteration
    public class TestClass3
    {
    public static void main( String[]args )
    {...
  2. [SOLVED] Re: Won't display its Location for Linear Searching.

    I'm not sure what you're asking, and I don't know what "didn't like putting limit numbers" means. Ask a specific question: "How do I iterate an ArrayList and find the desired index?" might be what...
  3. [SOLVED] Re: Won't display its Location for Linear Searching.

    You have one int[] Array and 2 ArrayList<Integer>s. All 3 of those collections can be iterated and searched for a desired value to return the index of that value with few significant differences in...
  4. [SOLVED] Re: Won't display its Location for Linear Searching.

    Please follow Java's naming conventions: variable and method names should begin with lowercase letters. Class names begin with uppercase letters. Not following these conventions makes reading your...
  5. [SOLVED] Re: Won't display its Location for Linear Searching.

    What's the purpose of this line:

    int[] OddSearch = {31};
Results 1 to 5 of 5