Search:

Type: Posts; User: yacek

Search: Search took 0.26 seconds.

  1. Replies
    2
    Views
    691

    Re: unchecked or unsafe operations ERROR

    Note: HW4c.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.

    so when I compile with -Xlint the program runs fine but there are like 10 warnings.
    ...
  2. Replies
    2
    Views
    691

    unchecked or unsafe operations ERROR

    This is the line of code generating the "unchecked or unsafe operations" error. There is an arrow that points to "new". How do I get rid of this error so I can compile my code?


    public static...
  3. Replies
    8
    Views
    569

    Re: Cannot find symbol ERROR

    THANK YOU! I was using vector methods *facepalm*
  4. Replies
    8
    Views
    569

    Re: Cannot find symbol ERROR

    I can't figure it out, here's a totally simplified example I tried to compile. Same error occurs at the line where I have String s = mbin.elementAt(i);

    It's says "cannot find symbol", there are...
  5. Replies
    8
    Views
    569

    Re: Cannot find symbol ERROR

    @Javapenguin You can have an array of ArrayLists. Tried adding the string generics to it but that doesn't change anything.
  6. Replies
    8
    Views
    569

    Re: Cannot find symbol ERROR

    Where am I using arraylist like an array? Also, the error is only occurring in my methods.
  7. Replies
    8
    Views
    569

    Cannot find symbol ERROR

    Working on a bin sort; user enters a bunch of number and then I sort them.

    I keep getting the error "cannot find symbol" and an arrow pointing to the period in mbin.elementAt(i) and ever time I...
Results 1 to 7 of 7