Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

C++ Classes and Objects: Applying Abstraction, Encapsulation, Inheritance, and Polymorphism

Posted By: IrGens
C++ Classes and Objects: Applying Abstraction, Encapsulation, Inheritance, and Polymorphism

C++ Classes and Objects: Applying Abstraction, Encapsulation, Inheritance, and Polymorphism
.MP4, AVC, 1018x572, 30 fps | English, AAC, 2 Ch | 3h 18m | 644 MB
Instructor: Rohit Kumar

Follow along with C++ expert Rohit Kumar and master objects and classes.

Click here for all of Rohit Kumar’s highly-rated videos on O’Reilly, including his C++ (CPP) Programming Essentials course.

The following five topics will be covered through a combination of lecture and hands-on to maximize your learning of the object-oriented part of the C++ language:

Abstraction, Encapsulation, Inheritance, and Polymorphism Introduction. Master abstraction, encapsulation, inheritance, and polymorphism, in this first topic in the C++ (CPP) Classes and Objects series. According to Wikipedia, abstraction is preserving information that is relevant in a given context, and forgetting information that is irrelevant in that context. Encapsulation is the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing unauthorized parties' direct access to them. Inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation. Also defined as deriving new classes (sub classes) from existing ones (super class or base class) and forming them into a hierarchy of classes. Polymorphism is the provision of a single interface to entities of different types or the use of a single symbol to represent multiple different types.
Static Data Member, Static Member Function, Friendly Function, and Dynamic Memory Allocation. Master static data member, static member function, friendly function, and dynamic memory allocation, in this second topic in the C++ (CPP) Classes and Objects series. Follow along with Rohit and master these more advanced class and object concepts.
Constructors. Master constructors in this third topic in the C++ (CPP) Classes and Objects series. According to Wikipedia, a constructor (abbreviation: ctor) is a special type of subroutine called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables. A constructor resembles an instance method, but it differs from a method in that it has no explicit return type, it is not implicitly inherited and it usually has different rules for scope modifiers. Constructors often have the same name as the declaring class. They have the task of initializing the object's data members and of establishing the invariant of the class, failing if the invariant is invalid. Follow along with Rohit and master default constructors, parameterized constructors, and copy constructors. Also practice working with destructors and function overloading.
Inheritance in Depth. Dive deeper into inheritance in this fourth topic in the C++ (CPP) Classes and Objects series. According to Wikipedia, inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation. Also defined as deriving new classes (sub classes) from existing ones (super class or base class) and forming them into a hierarchy of classes. Follow along with Rohit and practice defining a derived class. Apply single level inheritance, multi level inheritance, multiple inheritance, hierarchical inheritance, and hybrid inheritance.
Polymorphism in Depth. Dive deeper into polymorphism in this fifth topic in the C++ (CPP) Classes and Objects series. According to Wikipedia, polymorphism is the provision of a single interface to entities of different types or the use of a single symbol to represent multiple different types. Follow along with Rohit and practice applying function overloading, operator overloading, pointing to objects, pointing to derived classes, virtual functions, and abstract classes.


C++ Classes and Objects: Applying Abstraction, Encapsulation, Inheritance, and Polymorphism