Posted By

lpiaitdepok on 12/27/14


Tagged

java comment


Versions (?)

Comment style in Java


 / Published in: Java
 

Comment style in Java

  1. /*
  2. This is comment in C style
  3. */
  4.  
  5. public class Comment {
  6. /**
  7. Documented comment place in this line
  8. **/
  9. public static void main(String args[]) {
  10. System.out.println("Hello World");
  11. // This is comment in C++ style
  12. }
  13. }

Report this snippet  

You need to login to post a comment.