byte 0
short 0
int 0
long 0L
float 0.0F
double 0.0
Lingkup dan daur hidup variabel
Konversi otomatis
Kedua variabel kompatibel (1 kelompok)
Satu variabel tujuan memiliki rentang lebih besar
dari tipe data variabel asal
Contoh :
Byte b=2;
Int c=b;
Tidak perlu dituliskan :
Int c= (int) b;
Typecasting (2)
int[][][] xx={{{1},{1,2,3}},{{1,1}},{{3}}};