Virtual Functions, Pure Virtual Functions, and Abstract Classes in Object-Oriented Programming
Offered By: CodeBeauty via YouTube
Course Description
Overview
Explore the relationship and purpose of virtual functions, pure virtual functions, and abstract classes in Object-Oriented Programming. Gain a comprehensive understanding of C++ virtual functions, their role in achieving runtime polymorphism, and how to implement them using the "virtual" keyword. Discover the concept of pure virtual functions in C++ and learn how to declare them by assigning 0 in the declaration. Delve into abstract classes, their definition as classes with at least one pure virtual function, and their significance in providing a base for inheritance. Follow along with practical examples demonstrating runtime polymorphism and the implementation of these concepts in C++.
Syllabus
Relationship between Virtual Functions, Pure Virtual Functions and Abstract Classes in OOP explained
Taught by
CodeBeauty
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera Useful Genetics Part 2
The University of British Columbia via Coursera Object-Oriented Programming
Indian Institute of Technology Bombay via edX Java für Einsteiger
openHPI Computing: Art, Magic, Science - Part II
ETH Zurich via edX