01 JAVA의 컴파일 과정 DK
자바소스 -> 컴파일러 -> CLASS파일 생성됨(바이트코드) -> JVM(바이너리코드로 번역) -> 출력
(컴파일 방식) (인터프리트 방식)
* C++처럼 한번에 바이너리로 번역하지 않고, CLASS파일을 다시 바이너리로 번역한다.
플랫폼에 종속적이지 않기 위함.
컴파일한 결과를 저장하지 않고 바로 실행하는 방식을 인터프리트 방식이라고 한다.
(실행할때마다 번역하고 실행->속도가 떨어짐.)
--------------------------------------------
FirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybean