User Profile

Collapse

Profile Sidebar

Collapse
Harukoten
Harukoten
Last Activity: Nov 1 '08, 11:00 PM
Joined: Oct 30 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Harukoten
    replied to Try... Catch
    in Java
    AHA!!
    Got it, works exactly as needed. Thank you for the help JosAH.
    And thanks for not giving it away straight up, made me work for my answer, I learned more this way :)
    See more | Go to post

    Leave a comment:


  • Harukoten
    replied to Try... Catch
    in Java
    I'll look into that, thank you for the timely reply.

    Hokai, so, I took a look, I don't seem to be able to figuire out what I should be doing, perhaps one more hint in the right direction?
    See more | Go to post
    Last edited by Harukoten; Oct 31 '08, 05:14 AM. Reason: Rawr

    Leave a comment:


  • Harukoten
    started a topic Try... Catch
    in Java

    Try... Catch

    Hello everyone, this is my first time posting, so play nice >.>

    I have a loop with a try-catch statement in it that is giving me issues., here is the code for it:
    Code:
    do
    		{
    			System.out.print("Number of courses being entered: ");
    			try
    			{
    				numCourses = userIn.nextInt();
    				failed = false;
    			}
    			catch (InputMismatchException ime)
    			{
    ...
    See more | Go to post
No activity results to display
Show More
Working...