자바소스 -> 컴파일러 -> CLASS파일 생성됨(바이트코드) -> JVM(바이너리코드로 번역) -> 출력
(컴파일 방식) (인터프리트 방식)
* C++처럼 한번에 바이너리로 번역하지 않고, CLASS파일을 다시 바이너리로 번역한다.
플랫폼에 종속적이지 않기 위함.
컴파일한 결과를 저장하지 않고 바로 실행하는 방식을 인터프리트 방식이라고 한다.
(실행할때마다 번역하고 실행->속도가 떨어짐.)
--------------------------------------------
FirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybean
'Programming > JAVA' 카테고리의 다른 글
05 JAVA SWITCH 문 DK (0) | 2018.07.27 |
---|---|
04 JAVA IF문 DK (0) | 2018.07.27 |
03 JAVA 첫 프로그램 'Hello World' DK (0) | 2018.07.23 |
02 JAVA 환경구축 DK (0) | 2018.07.23 |
댓글