Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
abhay jain
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because you're confusing Java comments /* ... */ with HTML comments <!-- -->
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic