SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Java Comments
- Rakesh P
Java Comments
● Java comments are statements that are not executed by the compiler and
interpreter.
● The comments can be used to provide information about each line of code.
● It can also be used to hide program code for specific time.
Java Comments Types - Single Line Comment
● The single line comment is used to comment only one line.
● //This is single line comment
Java Comments Types - Multi Line Comment
● The multi line comment is used to comment multiple lines of code.
/*
This is
multi line comment
*/
Java Comments Types - Documentation Comment
● The documentation comment is used to create documentation API.
/**
This is
documentation comment
*/

More Related Content

What's hot (20)

Files in java
Files in java
Muthukumaran Subramanian
 
INHERITANCE IN JAVA.pptx
INHERITANCE IN JAVA.pptx
NITHISG1
 
Java threads
Java threads
Prabhakaran V M
 
9. Input Output in java
9. Input Output in java
Nilesh Dalvi
 
Strings in java
Strings in java
Kuppusamy P
 
Object Oriented Programing JAVA presentaion
Object Oriented Programing JAVA presentaion
Pritom Chaki
 
Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Thread model in java
Thread model in java
AmbigaMurugesan
 
Lesson 2 php data types
Lesson 2 php data types
MLG College of Learning, Inc
 
Java Thread Synchronization
Java Thread Synchronization
Benj Del Mundo
 
File handling
File handling
priya_trehan
 
Java Course 8: I/O, Files and Streams
Java Course 8: I/O, Files and Streams
Anton Keks
 
20.3 Java encapsulation
20.3 Java encapsulation
Intro C# Book
 
Java static keyword
Java static keyword
Lovely Professional University
 
Java Notes
Java Notes
Abhishek Khune
 
Array in c#
Array in c#
Prem Kumar Badri
 
String Builder & String Buffer (Java Programming)
String Builder & String Buffer (Java Programming)
Anwar Hasan Shuvo
 
Java Strings
Java Strings
RaBiya Chaudhry
 
Strings in Java
Strings in Java
Abhilash Nair
 
Collections and its types in C# (with examples)
Collections and its types in C# (with examples)
Aijaz Ali Abro
 

More from RAKESH P (17)

Java Inheritance | Java Course
Java Inheritance | Java Course
RAKESH P
 
Java Constructors | Java Course
Java Constructors | Java Course
RAKESH P
 
How to get selected in a Software Product Company ?
How to get selected in a Software Product Company ?
RAKESH P
 
Types of Software Developers
Types of Software Developers
RAKESH P
 
Tokenization using nlp | NLP Course
Tokenization using nlp | NLP Course
RAKESH P
 
Natural language processing basics
Natural language processing basics
RAKESH P
 
Supervised learning
Supervised learning
RAKESH P
 
Machine learning real time applications
Machine learning real time applications
RAKESH P
 
What is machine learning
What is machine learning
RAKESH P
 
Strategy design pattern
Strategy design pattern
RAKESH P
 
State design pattern
State design pattern
RAKESH P
 
Null object design pattern
Null object design pattern
RAKESH P
 
Memento design pattern
Memento design pattern
RAKESH P
 
Chain of responsibility design pattern
Chain of responsibility design pattern
RAKESH P
 
Interpreter Design Pattern real-time examples
Interpreter Design Pattern real-time examples
RAKESH P
 
What is String in Java?
What is String in Java?
RAKESH P
 
Visitor design pattern
Visitor design pattern
RAKESH P
 
Java Inheritance | Java Course
Java Inheritance | Java Course
RAKESH P
 
Java Constructors | Java Course
Java Constructors | Java Course
RAKESH P
 
How to get selected in a Software Product Company ?
How to get selected in a Software Product Company ?
RAKESH P
 
Types of Software Developers
Types of Software Developers
RAKESH P
 
Tokenization using nlp | NLP Course
Tokenization using nlp | NLP Course
RAKESH P
 
Natural language processing basics
Natural language processing basics
RAKESH P
 
Supervised learning
Supervised learning
RAKESH P
 
Machine learning real time applications
Machine learning real time applications
RAKESH P
 
What is machine learning
What is machine learning
RAKESH P
 
Strategy design pattern
Strategy design pattern
RAKESH P
 
State design pattern
State design pattern
RAKESH P
 
Null object design pattern
Null object design pattern
RAKESH P
 
Memento design pattern
Memento design pattern
RAKESH P
 
Chain of responsibility design pattern
Chain of responsibility design pattern
RAKESH P
 
Interpreter Design Pattern real-time examples
Interpreter Design Pattern real-time examples
RAKESH P
 
What is String in Java?
What is String in Java?
RAKESH P
 
Visitor design pattern
Visitor design pattern
RAKESH P
 
Ad

Recently uploaded (20)

Data Validation and System Interoperability
Data Validation and System Interoperability
Safe Software
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
Down the Rabbit Hole – Solving 5 Training Roadblocks
Down the Rabbit Hole – Solving 5 Training Roadblocks
Rustici Software
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
Mastering AI Workflows with FME - Peak of Data & AI 2025
Mastering AI Workflows with FME - Peak of Data & AI 2025
Safe Software
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
Oracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI Professional
VICTOR MAESTRE RAMIREZ
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
angelo60207
 
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Anish Kumar
 
Kubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too Late
Michael Furman
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
Edge AI and Vision Alliance
 
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
 
Data Validation and System Interoperability
Data Validation and System Interoperability
Safe Software
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
Down the Rabbit Hole – Solving 5 Training Roadblocks
Down the Rabbit Hole – Solving 5 Training Roadblocks
Rustici Software
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
Mastering AI Workflows with FME - Peak of Data & AI 2025
Mastering AI Workflows with FME - Peak of Data & AI 2025
Safe Software
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
Oracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI Professional
VICTOR MAESTRE RAMIREZ
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
angelo60207
 
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Anish Kumar
 
Kubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too Late
Michael Furman
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
Edge AI and Vision Alliance
 
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
 
Ad

Java Comments | Java course

  • 2. Java Comments ● Java comments are statements that are not executed by the compiler and interpreter. ● The comments can be used to provide information about each line of code. ● It can also be used to hide program code for specific time.
  • 3. Java Comments Types - Single Line Comment ● The single line comment is used to comment only one line. ● //This is single line comment
  • 4. Java Comments Types - Multi Line Comment ● The multi line comment is used to comment multiple lines of code. /* This is multi line comment */
  • 5. Java Comments Types - Documentation Comment ● The documentation comment is used to create documentation API. /** This is documentation comment */