Which of the following is accepted method of signifying the single line comment in Java code example
Example 1: comment in java
//This is single line comment
/*
This is
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