Using Comments in Java





This video tutorial explains the comments available in java programming.

You are gonna learn what are comments,what are the different types of comments available in java programming, what is the use of them, how to create and use comments in detail with example.

Source Code for this Video Tutorial


package LearningJava;

public class Dodo {

 public static void main(String[] args) {
  //this is a single line comment

 /*
  this 
  
  
  is a 
 mult
 i
  line comment
  */
 
 /**
  * 
  * 
  */
  
  int a = 10; //creating a variable to store some value
  System.out.println(a);

 }

}

Back To Top