What are comments? Name the different types of comments used in Java.

Question :

What are comments? Name the different types of comments used in Java.

A comment is a programmer-readable explanation or annotation in the source code of a computer program. The different types of comments in Java are:

  •  Singleline comment
  •  Multiline comment


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad