Results 1 to 4 of 4
  1. #1
    flagrl is offline Member
    Join Date
    Jan 2012
    Posts
    12
    Rep Power
    0

    Default what is wrong with this? cant figure it out

    i am in college and taking a java class. we just started 2 weeks ago. i buildt my 1st class in the package ok but then the second class wont run. so this is what i have for my second class in the package can anyone tell me whats wrong.

    package lab1;

    /**
    *
    * @author cerissa
    */
    public class PersonalInformation
    {
    public static void main method'('String[] arg)
    {
    System.out.println("test");
    }


    }

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,302
    Rep Power
    20

    Default Re: what is wrong with this? cant figure it out

    then the second class wont run.
    How did you try to run the code? What was the result?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    flagrl is offline Member
    Join Date
    Jan 2012
    Posts
    12
    Rep Power
    0

    Default Re: what is wrong with this? cant figure it out

    sorry it took so long to get back to you guys. i went to tutoring yesterday and we figured it out. i had to right click on source packages go to properities then go to run then click on my class i wanted to run.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. i can't figure out whats wrong
    By redbrawn06 in forum New To Java
    Replies: 4
    Last Post: 10-17-2011, 09:44 PM
  2. Can't figure out what's wrong, help please.
    By Taszk in forum New To Java
    Replies: 30
    Last Post: 05-24-2011, 11:30 AM
  3. Replies: 16
    Last Post: 08-09-2010, 11:40 PM
  4. Cant figure out where went wrong.
    By leviathan in forum New To Java
    Replies: 15
    Last Post: 06-06-2010, 06:55 PM
  5. Replies: 2
    Last Post: 07-11-2008, 09:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •