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

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
主站蜘蛛池模板: 阿图什市| 平利县| 正阳县| 博乐市| 兴安县| 福建省| 阿合奇县| 阳西县| 乐亭县| 三台县| 上饶市| 大荔县| 金坛市| 和静县| 瑞金市| 和田县| 乌拉特前旗| 高台县| 新丰县| 板桥市| 当涂县| 吉安市| 抚州市| 东莞市| 石渠县| 阜新| 墨竹工卡县| 宁德市| 娄底市| 天津市| 邯郸市| 泾源县| 赤水市| 鹤山市| 庆安县| 报价| 榆林市| 建宁县| 顺昌县| 长阳| 乐山市|