Java SE笔记

java常用关键字

abstract  continue for new switch
assert default if package synchronized
boolean do goto private this
break double implements protected throw
byte else import public throws
case enum instanceof return transient
catch extends int short try
class finally long strictfp volatile
char final interface static void
const float native super while

 

 

 

 

 

 

 

 

 

 

数据类型兼容

byte --> short --> int --> long --> float --> double

                           char

条件语句

Java SE笔记_第1张图片Java SE笔记_第2张图片

 

 

 

 

你可能感兴趣的:(javaSE)