This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<identifier expected> error

 
winnie Lim
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm getting <identifier expected> at line 1 and 2. But i hardly see anything problem with it. I seriously don't have time for any more "trying on your own" or refering to tutorials and believe me, this is my 4th sleepless night. Its due in 4 hours can any kind soul please please help me out here. Seriously need some help thanks alot alot alot.
 
Hunter McMillen
Ranch Hand
Posts: 492
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're getting that error because you have a period after the word import. It should look like this:



Hunter.
 
winnie Lim
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a million. And i mean it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic