This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes <identifier expected> error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "<identifier expected> error" Watch "<identifier expected> error" New topic

<identifier expected> error

winnie Lim

Joined: Feb 10, 2009
Posts: 16

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

Joined: Mar 13, 2009
Posts: 492

You're getting that error because you have a period after the word import. It should look like this:


"If the facts don't fit the theory, get new facts" --Albert Einstein
winnie Lim

Joined: Feb 10, 2009
Posts: 16
Thanks a million. And i mean it
jQuery in Action, 2nd edition
subject: <identifier expected> error
Similar Threads
new elements in the arraylist
getting java.lang.NoSuchMethodError: main error! thanks =)
help in assignment please! =)
Error when executing project on JCreatorLE
Polymorphism and HashMap problem