fork download
  1. //Single Line Comment
  2.  
  3. /*
  4.   This is Multiline Comment
  5.   which spawns multiple lines.
  6. */
  7.  
  8. /**
  9.   This is a documentation comment. The JDK javadoc tool uses doc
  10.   comments when preparing automatically generated documentation.
  11. */
  12. class Ideone
  13. {
  14. public static void main (String [] args)
  15. {
  16. System.out.println ("You should comment your code.");
  17. }
  18. }
Success #stdin #stdout 0.09s 381248KB
stdin
Standard input is empty
stdout
You should comment your code.