C++Tutorial for Beginners 32 - Getters and Setters
Channel: Cave of Programming
Date: 2014-08-22

Learn advanced C++ programming: https://www.udemy.com/course/learn-advanced-c-programming/
Make a social network with Spring Boot: https://www.udemy.com/course/java-spring-social-network/?referralCode=4C26D3598A4B1A5746FB
Learn about MySQL and relational databases: https://www.udemy.com/course/mysql-and-sql-from-beginner-to-advanced/?referralCode=5761BF2ABAD4E79E3E78
Java desktop programming: https://www.udemy.com/course/java-swing-complete/?referralCode=D0F4D66AE3725509DED4
Intermediate-Advanced C++ 11: https://www.udemy.com/course/learn-advanced-c-programming/?referralCode=FD10A334798EDB9ED1AC
-------------------------------------------------------------------------------------------------------------------------------------------
Getters and Setters are methods are are used to access your object's instance data. All the rage in object oriented programming some years ago, but now latest thinking in C++ holds that you should avoid using them where possible. But they're still sometimes needed and vital to know about.
--------------------------------------------------------------------------------------------------------------------------------------------
More videos on my YouTube channel: https://www.youtube.com/user/caveofprogramming