• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error: cannot find symbol  RSS feed

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
help me
my small javaprogram has an error





the error is

-----------Configuration: <Default>--------------------
C:\RandomInteger.java:3: cannot find symbol
symbol : class Srting
location: class RandomInteger
public static void main(Srting[] args){
^
1 error

Process completed.


could explain what does the error mean and what i can do ?

 
Ranch Hand
Posts: 136
1
Netscape Opera Ubuntu
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You misspelled String.
 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ Abx Aka------- Always use code tags when posting any code

And Welcome to Ranch
 
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abz Aka, please take a look at these guidelines: EaseUp, UseAMeaningfulSubjectLine and UseCodeTags (though your post is edited to add code tags, but you should follow the rules for future posts you write).

And welcome to the Ranch!
 
Abeer El-shaer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh ..thanks all ,,
I'll do it ..
Sorry it's because I'm freshman :$
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!