public class main{
public static void main(String[] args)
{
//code
}
}
entry level is main method.
this method is public so it can be easily found by jvm.
void because not expected to return anything.
static so no need to create object of class for execution.
String[] args are array of string as arguments for code.
Top comments (2)
Good work!
thanks 😊