Search:

Type: Posts; User: felimblack

Search: Search took 0.10 seconds.

  1. About the default problem: You have not to use...

    About the default problem: You have not to use case to introduce the default case. Instead of writing
    case default:
    try simply
    default:
  2. [SOLVED] Junior has to be declared as ...

    Junior has to be declared as

    ArrayList<Programmers> juniors = new ArrayList();

    or you can cast what you get from the Array

    proWithoverp = (Programmers)this.juniors.get(i);
  3. Thread: Dog Class

    by felimblack
    Replies
    1
    Views
    1,785

    The correct way to declare a variable is String...

    The correct way to declare a variable is String astring = new String(); not String astring = newString();
  4. Replies
    12
    Views
    3,690

    I apologize, I sent a post I hadn't revised...

    I apologize, I sent a post I hadn't revised (there were also grammar errors...).
    @copeg, thank you for your extreme efficiency as moderator!
  5. Replies
    12
    Views
    3,690

    If the statement (I cut some text) println(1,1)...

    If the statement (I cut some text) println(1,1) doesn't compile it's because println needs a string to be passed to and you pass two numbers (you should use "1,1"). Indeed it's correct, it's not what...
  6. Replies
    5
    Views
    1,556

    I suggest you to take a look to while loop. It...

    I suggest you to take a look to while loop. It makes possible to iterate code while a statement is true (for example while your file has next lines to be read).
  7. Replies
    12
    Views
    3,690

    The code you posted in your first post is quietly...

    The code you posted in your first post is quietly correct.
    Instead of writing

    System.out.println(1,1);, try to substitute the static numbers with the counters of the loop i and j.
Results 1 to 7 of 7