)Can any one expline the impartence of keywords in main method like public,void,static?
public means you can access that method from anywhere(means from outside package).
void means it does not return anything.
static means there no instance variables of any object of the class they are defined in. main method is entry point of any program in
java. To invok instance method we required object but at starting there is no any object so main method is static.
Can we override the main method?
Yes you can , by supplying different argument list.