Introduction to JAVA
- vardhman0000
- Aug 4, 2022
- 1 min read
Updated: Aug 10, 2022
My First JAVA Program :-
This is a basic program in which a string "Hello World!" is received as it's output
CODE :
public class HELLO { // This is a Class
public static void main(String[] args) { // This is a Function
System.out.println("Hello World!");
}
}
OUTPUT :

COMMENTS
Comments are the text which are ignored by the compiler / interpreter.
Comments in JAVA are written after double forward slash ( // ).

😍very nice good keep it up