The Best Technical Blog Ever

twitterrss

Comments

Code comments are used in source files to describe what is happening in the code. Comments can be specified in several ways:


(1) Using // :

All characters after // are treated as comments by the compiler.


Example 1
comment

(2) Using /* and */:

A multi-line comment is enclosed between a /* and */ pair.


Example 2
comment

(3)Using /** and */:

The /** prefix is used by the Javadoc utility for generating standardized documentation in HTML format.


Example 3
comment

Keypoints to remember in java

1. Java is a high level, robust, secured , platform independent and object oriented programming.... more info

Back to Basics:- Java Syntax

In this session, you are going to refresh some basic set of rules(java syntax), defining how a ... more info

Total Visits
Traffic feed status