Skip to main content

What are the features of Object Oriented Programming features ? OOP features





Object Oriented Programming (OOP) has the following important features.


Class

    A Class is a blueprint (plan or template) of an object that contains variables for storing data and functions to perform operations on the data.

Object

    Object is an instance of a class and basic run-time entities of an object oriented system. They may represent a person, a place or any item that the program must handle.

Abstraction

    Abstraction is "To represent the essential feature without representing the background details."

Abstraction is the process of hiding the working style of an object, and showing the information of an object in an understandable manner.

Encapsulation

    Wrapping up a data member and a method together into a single unit (class) is called Encapsulation.

Encapsulation means hiding the internal details of an object, in other words how an object does something.

Encapsulation is a technique used to protect the information in an object from another object.

Inheritance

   When a class includes a property of another class it is known as inheritance.

Inheritance is a process of object reusability.

Polymorphism

   Polymorphism means one name, many forms.

One function behaves in different forms.

In other words, "Many forms of a single object is called Polymorphism."

Comments

Popular posts from this blog

What is C# ?

C# is pronounced as "C-Sharp". It is an object-oriented programming language provided by Microsoft that runs on .Net Framework. We can develop different types of Window and Web applications by the help of C# programming language. C# is designed for CLI (Common Language Infrastructure). CLI is a specification that describes executable code and runtime environment. C# is approved as a standard by ECMA and ISO.

What is SQL?

SQL stands for Structured Query Language. SQL is used to communicate with a database. According to American National Standards Institute (ANSI), it is the standard language for relational database management systems. SQL statements are used to define and manipulate data on a database.  Some common relational database management systems that use SQL are: Oracle, Microsoft SQL Server, Access, etc.

How to add an icon to a WPF application

In this article we discus about how to add an icon for entire WPF application. Create an Icon File (*.ico) Add the icon file to our project. ( How to Add Image in WPF C# Application ) Open Solution Explorer , Select our Project --> Right Click --> Select Properties From Popup Menu Then We can See Project Properties And We Can set the icon in the Application tab. click Start Without Debugging on the DEBUG menu or run it externally the icon will show correctly. When running our application in debug mode from  Visual Studio, the icon will not be shown.