OOP: the concepts.

Object Oriented Programming (OOP) is one of the most important programming paradigms today. Principally, its a style of programming, that makes things much easier. Details:C# Schulung(German).

To be able to use OOP you need to know the concepts of Object Oriented Programming.

Class
A class is a blueprint or model that defines the variables and the methods common to all objects of a certain kind. You need a class to instantiate objects. A class is a template that specifies the attributes and behavior of something. Used in:Windows Forms Schulung(German).

Object
An instance of a class is called object. It can be considered a “thing” that can perform a set of related activities. Objects are the fundamental idea behind OOP.

Behavior
Each object has behavior, that is, an object has a certain set of actions that it can perform. Real-world objects share two characteristics: They all have state and behavior.

State
To define objects we have to define two things: state and behavior. Hence objects of a class are similar except for their state.

Abstraction
Abstraction refers to the act of representing essential features without including the background details or explanations. It is the most basic principle of software engineering.

Encapsulation
Encapsulation is storing data and functions in a class. It is nothing but hiding information also called information hiding. The idea behind encapsulation is to keep the data separate from the code. This is sometimes called data hiding. As such, encapsulation is a core principle of good software architecture. An excellent way to improve your company’s dotnet skills, is by booking a C# Schulung (German)}.

Filed under Internet by  #

Login