Public static void main(String args) is the main method.it is the starting point of the program. In which main method you can change only string args. learn more
The main method of the program is public because the public can access the out site of class JVM, call the method outside of class so therefore the main method of the program is public.
Public means method can access the out site of the class.
If we did not use the public in the main method the main method cannot access the outside of class. learn more
The main method of a class is static .static means there is no need of creating an object for calling the main method.jvm can call the method without the help of an object. It means the main method not to belong to a particular object. learn more
The main method used the void .void means the main method return no values. learn more
The main is the name of the method.
The string is a parameter that passing from the main method.
Its letter is capital we can not change it.it is a predefined class. when we declare any class its first letter is capital.
Args is a string type object.
Args is the variable name of the string array.
It can change it.
Nested if else statement
If else statement in java
If statement in java
A simple program in java for begnners
System.out.printin() in java
Public static void main ( String args ) in java program.
The basic structure of the java program.
Data types in java with examples(write and video tutorial
what is JVM(java virtual machine) java 8 features
What is Java programming and java history