how to make comment multiple lines in java 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: make a commet in java
// Demo types of comments
/* This shows
that the comment
can be muilti line */
System.out.println("Hello"); // Inline comment
// This is a single line comment