This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes while after while Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "while after while" Watch "while after while" New topic
Author

while after while

Stoian Ovidiu
Greenhorn

Joined: Jul 07, 2008
Posts: 6
Why don`t complie a while after while in the some method?
If i set a class reference in main method and after while I access a method from class reference return compile error.

Ex:

Ex:
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19739
    
  10

It would help if you posted some real code which doesn't compile. And it would help if you told us what error message the compiler produced.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: while after while
 
It's not a secret anymore!