RSS

object-oriented programming: the concepts.

This entry was posted on Nov 30 2009

Object-oriented programming (OOP) can best be described as a programming paradigm. It is about defining object classes and instantiating objects from those classes. Details:CSharp Schulung(German).

To understand object oriented programming, there are a few concepts you will require to become familiar with.

Class
A class is the blueprint from which the individual objects are created. It’s where Variables and Methods are defined. Recall a class is just template for an object. Used in:Windows Forms Schulung(German).

Object
An Object is an instance of a class. If you look around you, you will see objects everywhere. It combines various classical data types into a set that defines a new variable type. Objects are the basic run-time entities in an object-oriented system.

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

State
Every object has a state. That is, at any point in time it can be described from the data it contains. As an example, the bird is flying, that’s the state of the bird.

Abstraction
Abstraction is used to suppress irrelevant details while at the same time emphasizing relevant ones. It is logical reasoning over data and control.

Encapsulation
When a class is encapsulated, it includes everything it needs to do its job. It is the packaging of several items together into one unit. Encapsulation is most often achieved through information hiding. As such, encapsulation is a core principle of good software architecture. A very good way to improve your company’s dotnet skills, is by booking a VB Schulung (German)}.

Post a Comment