Why Is Method main Declared static?
Java main() method is always static, so that compiler can call it without the creation of an object or before the creation of an object of the class.
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment