Search:

Type: Posts; User: DANGEROUSSCION

Search: Search took 0.08 seconds.

  1. [SOLVED] Re: Which sort method to use for a String Array to output the index?

    something to do with calling the ArtistArray....

    run:
    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: output
    at...
  2. [SOLVED] Re: Which sort method to use for a String Array to output the index?

    I've tried again, by trying to alter codes given by University.



    import java.util.Scanner;

    public class BinarySearchString1 {

    public static void main(String[] args) {
    ...
  3. [SOLVED] Re: Which sort method to use for a String Array to output the index?

    OK, I've deleted it for now. I'll have another go first. Cheers
  4. [SOLVED] Re: Which sort method to use for a String Array to output the index?

    this is the code I've written finding an integer index using binary, but I just get it to work with a String array.

    I've change the keyboard to String userType = myKeyboard.nextLine();
    I've...
  5. [SOLVED] Re: Which sort method to use for a String Array to output the index?

    I don't know the correct line to use for the String Array.
  6. [SOLVED] Which sort method to use for a String Array to output the index?

    Hey all,
    I've written a code for finding the index of an int array using a binary search, but I cant find out to do the same with a String Array. Basically the user enters an artist...
Results 1 to 6 of 6