0
Whyyy static is present in main method of java
plz give me answer
2 Réponses
+ 2
static means you do not need an instance to use that function. If main method is not static, then you have to create a new instance of that class and then use main method.