Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Single-line Comment

// "Hello, World!" program example
 
class Main {
    public static void main(String[] args) {    	
        // prints "Hello, World!"
        System.out.println("Hello, World!");
    }
}
 
PREVIOUS NEXT
Tagged: #Java #Comment
ADD COMMENT
Topic
Name
8+9 =