Computing.Net > Forums > Programming > trying to get started

trying to get started

Reply to Message Icon

Original Message
Name: xp
Date: March 1, 2007 at 10:54:14 Pacific
Subject: trying to get started
OS: xp
CPU/Ram: 930/512
Model/Manufacturer: dell/don't know
Comment:

I made this file.

class HelloWorld {
public static void main (String args[]) {
Syustem.out.printin("Hello World!");
}
}

tried to compile thus


jdk1.3\bin\javac.exe HelloWorld.java

this apeared

HelloWorld.java:3: cannot resolve symbol
Symbol : class out
Location: package System
System.out.printin(“Hello World”);
^
1 error
trying to do this first time need help I couldn’t find what’s wrong.


adnan


Report Offensive Message For Removal


Response Number 1
Name: KellieThiLe
Date: March 1, 2007 at 18:47:33 Pacific
Reply: (edit)

IT SHOULD BE:

System.out.println("Hello World!");

:)

I'm only here to get help on programming and such ;


Report Offensive Follow Up For Removal

Response Number 2
Name: xp
Date: March 2, 2007 at 04:40:00 Pacific
Reply: (edit)

thanks a lot.

adnan


Report Offensive Follow Up For Removal

Response Number 3
Name: xp
Date: March 2, 2007 at 05:29:33 Pacific
Reply: (edit)

I corrected it

class HelloWorld
{
public static void main (String args[])
{
System.out.printIn("Hello World!");
}
}


Now this error appeared


HelloWorld.java:5: cannot resolve symbol
Symbol : method printIn (java.Iang.String)
Location : class java.io.PrintStream
System.out.printIn(“Hello World”);
^

1 error

please help.


adnan


Report Offensive Follow Up For Removal

Response Number 4
Name: xp
Date: March 3, 2007 at 05:03:16 Pacific
Reply: (edit)

thanks my problem has been solved

adnan


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: trying to get started

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge