This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Darryl Burke has posted something useful on the URGENT thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Darryl Burke has posted something useful on the URGENT thread" Watch "Darryl Burke has posted something useful on the URGENT thread" New topic
Author

Darryl Burke has posted something useful on the URGENT thread

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44031
    
  33
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

Joined: Oct 01, 2009
Posts: 11

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.......


With Regards,
S.Palanivelrajan, Software Engineer
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44031
    
  33
Agree, but there is a much likelier error than either of those two.
 
Have you checked out Aspose?
 
subject: Darryl Burke has posted something useful on the URGENT thread
 
It's not a secret anymore!