Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Cannot find the symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cannot find the symbol" Watch "Cannot find the symbol" New topic
Author

Cannot find the symbol

Gary Ba
Ranch Hand

Joined: Oct 23, 2009
Posts: 150

Hi Guys,

I have a compile error: Cannot find TestParent

Here is my two simple files.






When I compile Test.java, I cannot find TestParent.class. The Test.class exists though.
Note: the two files are on the same directory.

Thank you for the help guys,
Garry


star chaser..
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308
You miss the keyword class



Bye,
Nicola
Gary Ba
Ranch Hand

Joined: Oct 23, 2009
Posts: 150

do'h...mistake.

Thank you, Nicola!
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308



OK
 
wood burning stoves
 
subject: Cannot find the symbol