Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

comment in java

//This is single line comment  

/* 
This is  
multi line comment 
*/  
Comment

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
*/
Comment

Comment in Java

// This is how you comment in java
/* You can also do it like this */
Comment

Java Comments

// declare and initialize two variables
int a =1;
int b = 3;

// print the output
System.out.println("This is output");
Comment

Commenting in Java

//Single Line

/* Multi Line
Comments 
! */

//Comments cannot be runned
/*This can be
runned */

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

Java Comments

//The normal single line comment

/*
The normal multi-line comment
*/
Comment

comments java

// this is a comment

/* this is 
   a multiline
   comment */
Comment

Java Comment

        //This is a comment that does not show
/*I am a multi-lined comment that does 
not show either*/
  System.out.print("This is text");
Comment

PREVIOUS NEXT
Code Example
Java :: how to set default focus on edittext in android 
Java :: is it possible to declare two conditions in for loop in javascrip 
Java :: Java Thread Example Using the Thread Class 
Java :: insert node at end of doubly linked list 
Java :: java constructor example 
Java :: hash map 
Java :: java inheritance example 
Java :: No enclosing instance of type Foo is accessible. Must qualify the allocation with an enclosing instance of type Foo (e.g. x.new A() where x is an instance of Foo 
Java :: dates in java 8 
Java :: why string is immutable in java 
Java :: package javafx.fxml does not exist 
Java :: prime factors of a number 
Java :: Java Handlers(Appenders) 
Java :: Service vs IntentService. 
Java :: java loop find index 
Java :: in dom parser how to find processing instruction in java 
Java :: Algorithms - sum 
Java :: show bottom sheet in adapter 
Java :: exponet 
Java :: Kadane Algorithm for maximum sub-array 
Java :: how to create arraylist in java 
Java :: android stop audio playing by activity lifecycle 
Java :: java GLIBC 2 34 missing 
Java :: time complexity of indexof java 
Java :: regex pattern to mathc IP address 
Java :: Java Labeled continue Statement Java 
Java :: Was ist ein String in java 
Java :: print jtable in java 
Java :: Add space to the left and right sides of a cell 
Java :: quick sort in java progrmmieren 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =