The main method should be static for the reason
Asked by admin @ in Computer Science viewed by 319 People
The main method should be static for the reason
A.It can be accessed easily by the class loader.
B.It can be accessed by every method or variable without any hindrance.
C.It can be executed without creating any instance of the class.
D.None of the above