Search:

Type: Posts; User: StuckInJava

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    1,540

    Re: ArrayIndex problem

    So my only real option then is to handle it within the main? Gotcha. I was hoping to avoid cluttering my main with Try/Catches, but alas. :) Thanks!
  2. Replies
    3
    Views
    1,540

    ArrayIndex problem

    Hi. I have a problem with an exception error, using an array. The problem is when I pass an object out of the array into my petAnimal method, it doesn't catch the ArrayIndex Exception... ? If I put...
  3. Replies
    4
    Views
    1,658

    Re: Menu Problem

    I think I got it. Here's the code for anyone who needs some help with this in the future:


    boolean run = false;
    boolean run2 = false;
    do
    {
    System.out.println("Introduction.");...
  4. Replies
    4
    Views
    1,658

    Re: Menu Problem

    How do I get the external loop to start over tho?
  5. Replies
    4
    Views
    1,658

    Menu Problem

    Ahoy. I'm trying to write me a menu driven program, and I'm having a heck of a time figuring out how to break out of a loop and up a level.

    Scanner stuff here, user input variable from keyboard...
Results 1 to 5 of 6