Welcome to Dream.In.Code
Become a Java Expert!

Join 150,373 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,771 people online right now. Registration is fast and FREE... Join Now!




cannot resolve symbol class string

 
Reply to this topicStart new topic

cannot resolve symbol class string

Rushzeek91
28 Jan, 2008 - 01:51 PM
Post #1

New D.I.C Head
*

Joined: 31 Oct, 2007
Posts: 2


My Contributions
I am using jcreator version 4.50.010.......here is my code i am getting 2 errors
CODE

class HelloDan {
public static void main (string[] arguments) {
system.out.println("What's the frequency, Kenneth?");
}
}

line 2 cannot resolve symbol class string
line 3 package system does not exist
User is offlineProfile CardPM
+Quote Post

outlaw107
RE: Cannot Resolve Symbol Class String
28 Jan, 2008 - 01:58 PM
Post #2

New D.I.C Head
Group Icon

Joined: 1 Nov, 2007
Posts: 31


My Contributions
You must have system capitalized such as

System.out.println("What's the frequency, Kenneth? ");
User is offlineProfile CardPM
+Quote Post

Rushzeek91
RE: Cannot Resolve Symbol Class String
29 Jan, 2008 - 02:10 AM
Post #3

New D.I.C Head
*

Joined: 31 Oct, 2007
Posts: 2


My Contributions
QUOTE(outlaw107 @ 28 Jan, 2008 - 02:58 PM) *

You must have system capitalized such as

System.out.println("What's the frequency, Kenneth? ");





ok...of error got solved but 1 error still remains that is

line 2 cannot resolve symbol class string



pls help me i just started learning java....................

QUOTE(Rushzeek91 @ 29 Jan, 2008 - 03:08 AM) *

QUOTE(outlaw107 @ 28 Jan, 2008 - 02:58 PM) *

You must have system capitalized such as

System.out.println("What's the frequency, Kenneth? ");





ok...of error got solved but 1 error still remains that is

line 2 cannot resolve symbol class string



pls help me i just started learning java....................



never mind i got it solved....Thank you so much for you help...............
User is offlineProfile CardPM
+Quote Post

GWatt
RE: Cannot Resolve Symbol Class String
29 Jan, 2008 - 06:37 AM
Post #4

human inside
Group Icon

Joined: 1 Dec, 2005
Posts: 2,360



Thanked: 31 times
Dream Kudos: 500
My Contributions
All class names from any of the Java packages are capitalized. So capitalize "string" to "String".
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 02:36PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month