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

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
主站蜘蛛池模板: 大化| 新巴尔虎左旗| 体育| 上虞市| 鄄城县| 福清市| 丹东市| 大名县| 什邡市| 安新县| 贵定县| 来凤县| 桃园市| 富阳市| 西乡县| 梁山县| 和平区| 长春市| 观塘区| 额尔古纳市| 丰台区| 石首市| 都匀市| 若尔盖县| 福清市| 旌德县| 贵溪市| 福贡县| 林西县| 页游| 文化| 新河县| 保山市| 汉源县| 长寿区| 昌宁县| 三门峡市| 木兰县| 那曲县| 云浮市| 新化县|