Object Oriented Concept
Object Oriented Paradigm OOP allows us to decompose a problem into a number of entities called Objects and build data and function around this entities. The Combination of data and methods make up an object. The data of an object can be accessed only by the method associated with the object. Some of the feature of object oriented paradigm are: • Emphasis in on data rather than procedure. • Program are divided into what are known as Objects. • Data is hidden and cannot be accessed by external function. • Objects may communicate with each other through methods. • New data and method can be easily added whenever necessary. • Follows bottom up approach in program design. Object oriented programming is an approach that provides a way of modularizing programs by creating partitioned memory area for both data and method that can be used as templates for creating copies of such modules on demand. Features of OOP • Class: The class is s...