• Post Reply Bookmark Topic Watch Topic
  • New Topic

clear the console in eclipse and goto  RSS feed

 
Giovanni Montano
Ranch Hand
Posts: 434
7
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, two little questions.
please follow the //? FIRST and SECOND notes
then I understood that Java has GOTO as Keyword for future versions and that usually one can avoid GOTO using break inside the cycles, but I need a jump( salto) in the code. thank you



 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2. You don't need a GOTO, you need a while or do/while loop.
 
Campbell Ritchie
Marshal
Posts: 56553
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, Java® has the keyword goto so the compiler can give better error messages, not so it can be used in future releases.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!