官术网_书友最值得收藏!

Introduction to object-oriented programming

Object-Oriented Programming (OOP) has been around for a couple of decades now, and most software developers are familiar with at least one OOP language, such as C or Java. The introduction of OOP represented a significant computer programming paradigm shift from the prevailing procedural programming technique. With OOP programming, the focus is on objects, and the focus of procedural programming is on procedures. For example, a procedural programming approach to a bicycle management information system would focus on the procedures that the system might perform. The OOP approach would focus on the bicycle and model it as an object. With the physical bicycle represented as an OOP object, we can define characteristics of the object and what behaviors can be taken with respect to the bicycle object.

In this section, we will cover the basics of OOP and use the bicycle object as a common reference. This section is subdivided as follows:

  • Primary benefits of OOP
  • Sample OOP class
  • Instance variables
  • The This reference
主站蜘蛛池模板: 山阴县| 榆树市| 沁阳市| 青龙| 武义县| 合江县| 耿马| 万年县| 鹿泉市| 镇赉县| 新郑市| 东兴市| 名山县| 固安县| 宣城市| 长兴县| 闵行区| 祁门县| 齐河县| 洛宁县| 瑞金市| 禹州市| 利辛县| 桦川县| 盐山县| 印江| 措美县| 田东县| 收藏| 南川市| 明水县| 仁怀市| 林口县| 中卫市| 鄄城县| 五指山市| 开封县| 华宁县| 孟村| 三门县| 金阳县|