1//Single line
2System.out.println("Hello world"/*+"This is code commented out inline."*/); //You can also put comments at the end
3/*
4Multi
5Line
6comment
7*/
1// Demo types of comments
2
3/* This shows
4 that the comment
5 can be muilti line */
6System.out.println("Hello"); // Inline comment
7// This is a single line comment