Professional Documents
Culture Documents
Inheritance: Cep - Ccit
Inheritance: Cep - Ccit
Q3M1
CEP - CCIT
Fakultas Teknik Universitas Indonesia
Pegawai
IDPegawai
Nama
Alamat
GajiPerJam GajiBulanan
TotalJamKerja BonusTahunan
C# enables you to create abstract classes that are used to provide partial
class implementation of an interface. You can complete implementation
by using the derived classes.
}
This code will provide an error
because abstract class cannot be
instantiated.
Code Structure:
Example:
Example:
interfaces Ipelanggan
{
void acceptPelanggan();
void displayPelanggan();
}