DON'T BE SATISFIED WITH B when you can get A+
--Your friends at LectureNotes

Note for Java Programming - JAVA By Anantharaj Manoj

  • Java Programming - JAVA
  • Note
  • Uploaded 11 months ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-2

What to be discussed? • We are going to discuss on 1. Comments 2. Starting a Java Program 1. Importing classes 3. Formatting the output

Text from page-3

Comments • Comments are description about the features of a program. • Means whatever we write in a program should be described using comments. • Thus readability and understandability of a program will be more. • There are 3 types of comments in java.

Text from page-4

Comments // This is my comment of one line. /* This is a multi line comment. This is line one This is line two of the comment.*/ /** description about a class*/ Class code /** description about a method */ Method code

Text from page-5

Comments • API Document: – The API document is generated from the .java program is similar to a help file where all the features are available with their descriptions. – To create an API document, we should use a special compiler called javadoc compiler.

Lecture Notes