Professional Documents
Culture Documents
Anatomy of JAVA
Example :
Class Main {
void main () {
…..
Understanding
Compilation step
Shortcut :
- Ctrl + l : Clear
-
TYPING CODE :
1. Comments
a. One line [ // ]
b. More than 1 lines [ */ /*]
2. Variables
a. Int
b. String
c. Double
3. Primitive data types (Storing simple values)