Answer to Question #168107 in Algorithms for Kwame Hayford

Question #168107



Why Is Method main Declared static?


1
Expert's answer
2021-03-05T01:10:36-0500

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?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS