Minggu, 17 Maret 2013

Posted by Kiki Risky | File under : , ,
The variable is a place in memory that is allocated to hold data that has a temporary nature, which is used only when the program is still running and removed / deleted from memory after the program ends.

Declaration Format:
TipeData namaVariabel [= inisialisasiNilaiAwal];

example:
int nilaiAbsen;
int nilaiTugas, nilaiUTS, nilaiUAS;
String firstName = "Tariq"
NamaTengah String = "Athar", LastName = "Kisan";
nilaiHuruf char = 'A';


0 komentar:

Posting Komentar