[Java] - (짧) 왜 main 메서드는 static 일까? #121
Unanswered
Irisation23
asked this question in
Java
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Q. 왜 main 메서드는 static 일까? 🤔
A. JVM의 method area에 위치한 main 메서드는 호출 스택에서 최상단에 위치한다. 그리고 동시에 프로그램의 시작점이다.
Beta Was this translation helpful? Give feedback.
All reactions