Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

java comment many line

//This is single line comment  

/* 
This is  
multi line comment 
*/  
Comment

JAVA Multi-line Comment

/* This is an example of  multi-line comment.
 * The program prints "Hello, World!" to the standard output.
 */

class HelloWorld {
    public static void main(String[] args) {

        System.out.println("Hello, World!");
    }
}
Comment

Java Single-line Comment

// "Hello, World!" program example
 
class Main {
    public static void main(String[] args) {    	
        // prints "Hello, World!"
        System.out.println("Hello, World!");
    }
}
Comment

PREVIOUS NEXT
Code Example
Java :: java parameterized constructor 
Java :: java final variable 
Java :: access array elements java 
Java :: Java Remove HashMap Elements 
Java :: lcm of two number in java 
Java :: Java How to use Deque? 
Java :: Java Create a Scanner Object in Java 
Java :: room insert and return id 
Java :: how to add random numbers to an array 
Java :: Java Change ArrayList Elements 
Java :: How to launch app in your android mobile phone 
Java :: navigation bottom android 
Java :: How to solve the knapsack problem, in Java? 
Java :: java comparator comparing 
Java :: map.put in java 
Java :: Java Exception handling using try...catch 
Java :: advantages of using java 
Java :: spring boot basic authentication 
Java :: java string class 
Java :: focusbutton 
Java :: java loop find index 
Java :: add checkbox box rows in tabulator 
Java :: java transformar string a url 
Java :: labeled break Statement Java 
Java :: Longest decreasing subsequence in java 
Java :: split by asterisk java 
Java :: managa firebase users 
Java :: Show the difference between this() and super() with help of a code 
Java :: difference between final and constant in java 
Java :: jtable fill panel 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =