10 OOPs, we did it again – Object Oriented Programming and C++
This chapter covers
- Understanding the concept of Object Oriented Programming (OOP)
- Learning how to create classes, objects, constructors, and destructors
- Understanding the concepts of abstraction and encapsulation
- Practicing inheritance, and polymorphism
- Practicing function overloading and operator overloading in an OOP environment
In this chapter, you will learn about the fundamental concepts and principles behind OOP (Object Oriented Programming). OOP is a powerful programming paradigm, that revolutionized the way we design, organize, and build software systems, allowing us to create a collection of data (objects) and functionalities (functions), organized in a special structure called Class. With OOPs structured approach to software development, we can write modular, reusable, and maintainable code. We can manage complexity, enhance code readability, and allow code reusability by organizing code into classes and objects.
OOP is a huge concept on its own, and whole books were written on OOP alone. In this chapter, we offer a glimpse into the core principles of OOP and explore its key concepts, such as classes, objects, abstraction, inheritance, polymorphism, and encapsulation. We will learn how to model real-world entities, abstract their behavior, and represent them as software objects.