Object Oriented Programming

The concept of object oriented programming.

Object: A repository of data

Class: Type of object

Method: procedure or function that operates on an object or class.

           addItem: adds an item to an shopping list object

Inheritance: A class may inherit properities from a more general class.

Polymorphism: One method works on several classes,even if the class need different implementations.

 

posted on 2017-08-05 10:30  dawangandy  阅读(97)  评论(0)    收藏  举报

导航