*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Bartender

Joined: Oct 14, 2005
Posts: 18114
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: while after while
 
Similar Threads
Unreachable statement
about statement unreachable
unreachable statement-compiler error?
Compiler error: "int cannot be dereferenced"!!
Singleton vs Static