IRMA-International.org: Creator of Knowledge
Information Resources Management Association
Advancing the Concepts & Practices of Information Resources Management in Modern Organizations

Classes and Objects

Classes and Objects
View Sample PDF
Copyright: 2024
Pages: 99
Source title: Advancements, Applications, and Foundations of C++
Source Author(s)/Editor(s): Shams Al Ajrawi (Wiley Edge, USA & Alliant International University, USA), Charity Jennings (Wiley Edge, USA & University of Phoenix, USA), Paul Menefee (Wiley Edge, USA), Wathiq Mansoor (University of Dubai, UAE)and Mansoor Ahmed Alaali (Ahlia University, Bahrain)
DOI: 10.4018/979-8-3693-2007-5.ch007

Purchase

View Classes and Objects on the publisher's website for pricing and purchasing information.

Abstract

Chapter 7 offers a meticulous exploration of the cornerstone of C++: classes and objects, ushering readers into the object-oriented paradigm. It commences with foundational topics on classes, their data members, and member functions. A thorough introduction to object-oriented analysis and design (OOAD) and the historical development of the unified modeling language (UML) creates a framework for understanding modern software design. As readers progress, the chapter unfolds the nuances of defining classes, with a UML representation of a sample class 'GradeCourse'. Emphasis is placed on software engineering principles, encompassing set and get functions, constructors, and destructors. The crucial concept of encapsulation is elucidated with detailed discussions on header files, source files, and client files. This chapter delves deep into advanced topics such as constructors (default and overloaded), destructors, static members, operator overloading, and the significance of the 'this' pointer.

Related Content

. © 2024. 45 pages.
. © 2024. 48 pages.
. © 2024. 66 pages.
. © 2024. 57 pages.
. © 2024. 39 pages.
. © 2024. 40 pages.
. © 2024. 99 pages.
Body Bottom