표준입력 (stdin)
실행옵션 (runtime option)
코드:
실행 »
표준입력/실행옵션
public class prog { public static void main(String[] args) { StringBuffer str01 = new StringBuffer(); StringBuffer str02 = new StringBuffer("Java"); System.out.println(str01.capacity()); System.out.println(str02.capacity()); } }