OOP: the concepts.
Posted on Monday Dec 21, 2009 Under New IdeasOOP is a design philosophy. It stands for Object Oriented Programming. It is about defining object classes and instantiating objects from those classes. Details:VB.NET Schulung(German).
To understand object oriented programming, there are a few concepts you will require to become familiar with.
Class
A class is used to describe something in the world, things or external entities. You need it to be able to create objects from. Once a class is defined, any number of objects can be produced which belong to that class. Used in:WCF Schulung(German).
Object
An object may be defined as an instance of a class that has state and behavior. It combines different 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
Each object has behavior, that is, an object has a definite set of actions that it can perform. For instance, the behavior of a dog is barking, running etc.
State
Every object has a state. That is, at any point in time it can be described from the data it contains. A car can be represented as a class with a state variable of price and methods like Stop, Move etc.
Abstraction
Abstraction refers to the act of representing fundamental features without including the background details or explanations. It is considered one of the most important concepts of software development.
Encapsulation
Encapsulation is storing data and functions in a class. It is nothing but hiding information also called information hiding. 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 teams dotnet skills, is by booking a C++ Schulung(German)}.