aspose file tools*
The moose likes Applets and the fly likes code between /* and  */ running sucessfully ???? why Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "code between /* and  */ running sucessfully ???? why " Watch "code between /* and  */ running sucessfully ???? why " New topic
Author

code between /* and */ running sucessfully ???? why

abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
a simple concept is that anything between /* and */ sign is treated as comment ,
how this code (given below) works in an applet successfully ???



/*
<applet

code=Hellojava
width=400
height=200>

</applet>

*/
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Because you're confusing Java comments /* ... */ with HTML comments <!-- -->


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: code between /* and */ running sucessfully ???? why