Basic Oops Concepts
Oops means Object Oriented Programming System Object-oriented programming (OOP) is a programming paradigm that uses “Objects “and their interactions to design applications and computer programs. Basic Oops concept are: Object Class Data Abstraction & Encapsulation Inheritance Polymorphism Dynamic Binding Message Passing 1) Object : Object is the basic unit of object-oriented programming. Objects are identified by its unique name. An object represents a particular instance of a class. There can be more than one instance of an object. Each instance of an object can hold its own relevant data. An Object is a collection of data members and associated member functions also known as methods. For example whenever a class name is created according to the class an object should be created without creating object can’t able to use class. the class of Dog defines all possible dogs by listing the characteristics and behaviors they can have; the object Lassie is one particular dog,