Example2_3

来源:互联网 发布:flicker free for mac 编辑:程序博客网 时间:2024/05/17 07:27

public class AS{
  public static void main(String arg[]){
 char c='A';
 float f=123.456789f;
 double d=123456.12345678;
 long x=5678;
 System.out.printf("%c%n%10.3f%n%f,%12d%n%d",c,f,d,x,x=x+2);
 }
}