This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 1090
Hi Sasha
Maybe loops would help. Try do while.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transfering control
 
It's not a secret anymore!