What is the object oriented programming (OOPs)

What is the object oriented programming (OOPs):


The java and C# are object – oriented programming languages. The OOPs refer to the programming base on the object. OOPs have many features like Polymorphism, Abstraction and Encapsulation etc.

Why the programmers use Object oriented programming concept:

A main importance of OOPs  is to remove some of the flaws encountered with the procedural approach.

In OOPs data is treated as a critical element and does not allow it to flow freely. Is bounds data closely to the functions that operate on it and protects it form accidental modification from outside functions.




Oops allows the decomposition of programs in to a numbers of entities called objects and the built data and function around the objects. The major advantages of object oriented programming are code re-usability. 


Introduction of Object -oriented programming(OOP):

Object –oriented programming (OOP) is a programming language model organized around         
"Objects" rather than "actions" and data rather than logic. Historically, a program has been         
Viewed   as a logical procedure that takes input data, processes   it, and   produces output data.  

The first step in OOP is to identify all the objects   you want to manipulate and how they relate to               each other, an exercise often    known as data  modeling. Once                you've  identified an object, you generalize it as a class  of objects and        define   the kind of data                it contains and any logic  sequences that can manipulate it. Each                distinct logic sequence  is known as a method. Areal instance of                a class is called an “object” or an “instance of a class”.           The object or class instance is what you run in the computer. Its                methods provide   computer instructions and the class object characteristics provide relevant data.    You communicate with objects and they communicate with each other.

Important features with OOPs are:

               
  • Classes and Objects       
  • Inheritance        
  •  Polymorphism
  •  Encapsulation   

Other Post Related to Asp.net and C#:
·         More About C#:
·         Data Type In C# :
·         FEATURES OR ADVANTAGES OF C# :
·         C# Keywords And Types:
·         C# language Program Structure:
·         C# Variable:
·         FEATURES IN ASP.NET APPLICATION :
·         C# Example of Interface
·         How to create master page in asp net c#
·         Asp.net page Directives
·         Create ASPX Page in ASP.Net and C#
·         Create a website in ASP.Net with C#
·         Asp.net database connection with sql server using c#
·         Cookies,how to make Cookies in asp.net with C#.
·         ASP .NET Read a text file by C#
·         Adding Dynamic Rows in ASP.Net GridView Control with Textbox
·         Create Dynamic Rows in ASP.Net GridView Control with TextBoxes
·         Asp.net :Difference between Authentication and Authorization
·         Object Pooling in .NET and how to use Object Pool
·         ASP.NET : Types of authentication and authorization



Comments

Popular posts from this blog