Object-oriented programming consists of 'objects' and allows for ploymorphism, inheritance and encapsulation into programming. It also ensures that data that functions operate can only be accessed by that very function and no outside data.
Objects are 'run-time' entities and are instances of a class.
Comments