?? 第二章例子.txt
字號:
2-例子
public class Datatype
{ public static void main(String args[])
{ byte a=120;short b=250;int c=2200;long d=500000;
char e='花';float f=11111.111f;double g=11111111.111;
boolean 男=true;boolean 女=false;
System.out.println("a= "+a); System.out.println("b= "+b);
System.out.println("c= "+c); System.out.println("d= "+d);
System.out.println("e= "+e); System.out.println("f= "+f);
System.out.println("g= "+g); System.out.println("男= "+男);
System.out.println("女= "+女);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -