Question #168107



Why Is Method main Declared static?


Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS