The concepts of OOP.

December 4, 2009 by  

OOP is a design philosophy. It stands for Object Oriented Programming. Basically, its a style of programming, that makes things a lot easier. Details:VB.NET Schulung(German).

Before you can begin using OOP, it s important to be acquainted with the terminology used.

Class
A class is the blueprint from which the objects are created. It is a programmer defined type that serves as a template for instances of the class. Once a class is defined, any number of objects can be created which belong to that class. Used in:WPF Schulung(German).

Object
An object can be defined as a specific instance of a class. It is a collection of attributes and behaviors encapsulated into a one small entity. Objects are the basic run-time entities in an object-oriented system.

Behavior
Behaviors are things the object does, defined in the methods of the class. Software objects are modeled after real-world objects in that they have state and behavior.

State
The State is kept in variables, the Behavior is implemented in functions. So objects of a class are similar except for their state.

Abstraction
Abstraction is the ability of a program to disregard the details of an object’s class and work at a more generic level when suitable. It is the ability to identify the essential underlying core of a problem.

Encapsulation
Encapsulation is storing data and functions in a class. Data cannot be accessible to the outside world. Only functions which are stored in the class can access it. In the context of OOP, encapsulation is often called a black box. Encapsulation is one of the most important characteristics of an object oriented system. A very good way to improve your company’s dotnet skills, is by booking a C++ Schulung(German)}.

Comments

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





No related posts.