一.there are three key features of OOP languages:
* Encapsulation
*Interitance
*polymorphism
Encapsulation through the use of classes and objects
classes contains data declarations and method declarations
A class can be viewed as a blueprint of an object.
e.g each STring object contains specific characters
沒有留言:
張貼留言