wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "<identifier expected> error" Watch "<identifier expected> error" New topic
Author

<identifier expected> error

winnie Lim
Greenhorn

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:



Hunter.


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

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