Description:
•Public is access modifier
•Every Java program should have Class with class keyword
•So my class name is FirstJavaProgram
–main- is a function
Function is set of instructions to make modular development.
–void is return type
–static means without creating the object of a class, we can access the method.
–public means globally accessible from all the programs.
•Java System.out.println() is used to print an argument that is passed to it.
Download
0 formats
No download links available.
Learn Java First Program/ How to write Java Program in Editplus | NatokHD