2009年2月9日 星期一

Object Oriented Programming(一)

一.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

沒有留言: