NessValdez's Profile User Rating: *****

Reputation: 3 Apprentice
Group:
Active Members
Active Posts:
69 (0.08 per day)
Joined:
12-March 12
Profile Views:
981
Last Active:
User is offline Oct 03 2012 06:34 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
XBox
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   NessValdez has not set their status

Posts I've Made

  1. In Topic: Try/Catch

    Posted 3 Oct 2012

    I just changed IllegalMoveException to Exception and added throw new IllegalMoveException(); in the catch and it worked :)
  2. In Topic: Try/Catch

    Posted 3 Oct 2012

    I did this, and it said: exception IllegalMoveException is never thrown in body of corresponding try statement


    		int i = 0;
    		int j = 0;
    		System.out.print("Location (1-4) of low card? ");
    		String stringi = INPUT.nextLine();
    		System.out.print("Location (1-4) of high card? ");
    		String stringj = INPUT.nextLine();
    		INPUT.nextLine();
    		try { i = Integer.parseInt(stringi);
    				j = Integer.parseInt(stringj);
    		} catch (IllegalMoveException e) {
    		System.out.println("Sorry. That was not a valid input");
    		}
    
  3. In Topic: separating a string into 3 different arrays

    Posted 2 Oct 2012

    Thanks for the input!! I got my assignment done and working.
  4. In Topic: Random Generator

    Posted 17 Sep 2012

    Our professor wanted the user to enter the rows and columns into the command line. So the output would look something like this: java LightsOut 4 4

    I couldnt get my program to work any other way.

    Youre right. The array could have a better name :)

My Information

Member Title:
D.I.C Head
Age:
26 years old
Birthday:
March 28, 1988
Gender:
Full Name:
Vanessa Valdez
Programming Languages:
Visual Basic
Java

Contact Information

E-mail:
Click here to e-mail me
MSN:
MSN  NessValdez@Hotmail.com

Friends

Comments

NessValdez has no profile comments yet. Why not say hello?