object oriented programming| Introduction to Oops | Oops Overview | C# Tutorial
What is OOPS? Object-oriented programming (OOP) is a programming paradigm. Paradigm :- A paradigm is a way of doing something OOP is based on the concept of objects, which can contain data in the form of field or properties and code in the form of Method or function In this paradigm data is hidden from outside world and may communicate with each-other with the help of public Methods. Princple of OOPS ? Object : Any real-world Entity that have some attribute and Behaviour is Know as Object (Eg :- Car,Student,Fan). object : 1) physical : that we can touch (table fan car student employee) 2) Logical : that we can not touch (bank account , service) Class : A class is a blueprint or prototype from which objects are created. Inheritance : it is a mechanism in which a object can acquires all the properties and behaviors of a parent object. Encapsulation : object keeps its state private, inside a class. Other objects don’t have direct access to this state. Abstraction : Hiding Implementation and showing functionality is known as abstraction. Polymorphism : - Polymorphism is one of the OOPs feature that allows us to perform a single action in different ways. #informtechi #Oops #oop
Download
0 formatsNo download links available.