728x90
포멧을 이용한 출력
C언어에서 사용하던 printf() 메서드를 지원한다.

class FormatPrintTest
{
 public static void main( String [] args )
 {
  System.out.printf("%s %d","Hello",123);
 }// end main
}

+ Recent posts