A class is a blueprint or prototype from which objects are created
• Definition of class:
• Objects created from the same class have the same attributes and methods, but its value can be different
- A template for creating objects.
- -The prototype / blue print defines variables and methods in general.
• Objects created from the same class have the same attributes and methods, but its value can be different

Tidak ada komentar:
Posting Komentar