What is the meaning of this?
public static void main(String args) throws Exception?
I don’t know it. If someone know please help me. I really want to know about “throws Exception”.
public : it is a access specifier that means it can be accessed by any other class in the program.
static : it is access modifier that means when the java program is load then it will create the space in memory automatically.
void(return type) : it does not return any value.
main() : it is a method or a function name.(First method to execute by JVM)
string args : its a command line argument it is a collection of variables in the string format.
- throws Exception : Use exceptions to notify about things that should not be ignored.