Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Darryl Burke has posted something useful on the URGENT thread

 
Campbell Ritchie
Sheriff
Pie
Posts: 49411
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Alternatively, add /* at the beginning of your code and */ at the end.
__________________________________________________________
no luck, db
From This thread. I wouldn't have noticed, but it says"no luck" rather than the usual "luck".

Challenge: To you newbies: who will be the first person to tell us why Darryl's suggestion won't work, and what its likely outcome will be?
 
palanivelrajan subramanian
Greenhorn
Posts: 11
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ritchie.........

We will get class not found exception when we put all our code inside /* */ why because is the code last compiled is stuck with errors..But if the code is executed without errors and then you put the code inside the /* */... it will give the result obtained in last execution.. so it is not the right choice to avoid error.......
 
Campbell Ritchie
Sheriff
Pie
Posts: 49411
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree, but there is a much likelier error than either of those two.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic