File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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
I agree. Here's the link:
subject: <identifier expected> error
It's not a secret anymore!