Java commentrs code example
Example 1: java comments
//Single line
System.out.println("Hello world"/*+"This is code commented out inline."*/); //You can also put comments at the end
/*
Multi
Line
comment
*/
Example 2: comment in java
//This is single line comment
/*
This is
multi line comment
*/