About Java Program
This is our first simple java program. I include all meaning of keywords, class, object, methods and variables. We already know about software in our last blog. So, open your software and start code with me your first java program.
[ Simple “Hello Java World” display on output screen ]
public static void main(String args)
System.out.println(“Hello Java World”);
How to Run?
Hello Java World
class – public – static – void => keywords
class => group of variables-methods
public => access control
static => type of variable and method
void => no return type
main() => function
String => in built class
args => array
System => in bulit class
out => object | to call println() method
println() => method | to print string in double “”.
Video Of First Program
Share and Enjoy
545total visits,1visits today