variable
Primitive data type
Integer int The most natural size of integer for the machine.
Cara Pendeklarasian :
✘type nama_variabel Cara Inisialisasi :
Contoh : ✘Type nama_variavel = nilai
✘int i, j, k; ✘int i = 10;
✘short o,p; ✘char c = ‘c’
✘float f, salary;
✘double d;
variable