contoh kode program OOP