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
In questa pagina del sito puoi guardare il video online object oriented programming| Introduction to Oops | Oops Overview | C# Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Inform Techi 20 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 784 volte e gli è piaciuto 21 spettatori. Buona visione!