Classes and objects in C++.
Object Oriented Programming: Four Principles: The four principles of object-oriented programming are encapsulation , abstraction , inheritance , and polymorphism . These words may sound scary for a junior developer. Object Oriented Programming is a concept that is based on real world objects. What is an object? An object is any independent unit. In object oriented programming you have to think more closer about the real world, as it is related to objects. An object can be a book,pen and person etc. A person is also an object. Every object has it's own unique identity ,just as objects in the real world do. It is possible that two objects look identical, but they are still separate, unique objects. What are attributes? Object's also have characteristics that are used to describe them. For example: A car can be blue or black, a glass can be full or empty. Object's have multiple attributes . What are methods? Method describes the behavior of our object. Method is...