[[Tableofcontents]] == 강의록 == * [http://www.slideshare.net/novathinker/1-java-key Java-Chapter 1] * [http://www.slideshare.net/novathinker/2-runtime-data-areas Java-Chapter 2] * [http://www.kandroid.org/board/data/board/conference/file_in_body/1/8th_kandroid_application_framework.pdf Android] == 강의 내용 == === ByteCode.java === {{{ public class ByteCode{ public ByteCode() { System.out.println("hello"); } public void methodOperandStack(){ int a, b, c; a = 5; b = 1; c = a + b; } } }}} {{{ public class ByteCode{ public ByteCode() { System.out.println("hello"); } public void methodOperandStack(){ try{ int a, b, c; a = 5; b = 1; c = a + b; } catch(Exception e){ } } } }}} {{{ public class ByteCode{ public ByteCode() { System.out.println("hello"); } private static final boolean optimize = false; private final void methodOperandStack(){ if(optimize){ int a, b, c; a = 5; b = 1; c = a + b; } } } }}} {{{ // notepad++ 에서 UTF8(BOM 없음) 선택후 다음과 같이 cmd에서 컴파일 javac -encoding utf8 ByteCode.java }}} {{{ // Decompile javap -c ByteCode.class }}}