Final Exam: Object-oriented Concepts in C++
C++ 20 | Intermediate
- 1 Video | 32s
- Includes Assessment
- Earns a Badge
Final Exam: Object-oriented Concepts in C++ will test your knowledge and application of the topics presented throughout the Object-oriented Concepts in C++ track of the Skillsoft Aspire Programming in C++ Journey.
WHAT YOU WILL LEARN
outline encapsulation and the use of classes and objectscreate a class and use the public access modifiercreate variables and define getters and settersuse private and public constructors and functionsadd default arguments to constructorscreate structs and contrast them with classesuse the this pointerchain method calls by returning the this pointercreate const objects and const member functionsaccess static variables using the scope resolution operatordefine and invoke static functionsdefine and use object destructorscreate copies of objects using C++'s default copy constructorimplement a custom copy constructoraccess private variables using friend functions and classesstore functions and classes in namespacescontrast is-a relationships and inheritance with has-a relationships and compositioncompare public and private members of base classesuse the protected access modifier for derived and external classesuse ‘protected’ as the base class access specifierinvoke base class constructors from derived classescreate pointers to derived and base class objectscreate references to derived and base class objectsdemonstrate ways of getting around name hidingcontrast compile time and runtime polymorphismenable runtime polymorphism using the ‘virtual’ keywordrecall that the signatures of dynamically dispatched methods must be the samedisable overriding and inheritance using the ‘final’ keywordenable runtime polymorphism by marking destructors as virtualuse the scope resolution operator to invoke specific versions of virtual methods
outline the concept of abstract classesoutline the concepts of multiple inheritance and the diamond hierarchyperform multiple inheritance and explore naming collisionsperform dynamic castsoutline key concepts of operator overloadingoverload the < operatorinline operator overloads and to use as member functionsoverload operators with primitive types as the right operanduse std::rel_ops and implement comparison operatorsuse the overloaded + operatorperform operator overloading of the += operatoroverload the pre and post increment operatorsoverload the insertion and extraction operatorsinstantiate objects and use the default copy assignment operatordifferentiate when the copy constructor should be used and when the copy assignment operator should be useduse the copy-swap idiom to write exception safe codeillustrate the use of function and class templatesrecall the need for function templatesname templates to explicitly specify their typeinvoke functions with specialized templatescreate function templates with multiple valuesuse decl_type and contrast it with autocreate and instantiate classes with class template parametersuse non-type template parameters with classesillustrate the features of non-type parameterscreate specializations of class templatescheck template type parameters using static_assertcreate l-value and r-value references using the & and && operatorsdefine a move assignment operatorimplement move constructors and move assignment operators
IN THIS COURSE
1.Object-oriented Concepts in C++33sUP NEXT
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platformDigital badges are yours to keep, forever.