This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes code error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "code error" Watch "code error" New topic
Author

code error

Brad Cantrell
Greenhorn

Joined: Aug 27, 2005
Posts: 22
Im getting this error message

with this code
Matti Poro
Ranch Hand

Joined: Dec 03, 2005
Posts: 41
The methods should be inside the class.

Brad Cantrell
Greenhorn

Joined: Aug 27, 2005
Posts: 22
thx
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: code error