wood burning stoves*
The moose likes Beginning Java and the fly likes Transfering control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Transfering control" Watch "Transfering control" New topic
Author

Transfering control

Sasha Hernandez
Greenhorn

Joined: Oct 14, 2003
Posts: 21
Suppose you are at the end of the method and you want to transfer control to the beginning of the method. How would you do that since Java does not support the goto statement?
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
Hi Sasha
Maybe loops would help. Try do while.
 
Consider Paul's rocket mass heater.
 
subject: Transfering control
 
Similar Threads
exception issues
Eclipse plugin for navigation like IDEA
directing to error page
Passing a Form Bean to a Custom Control
adding controls to JFrame