object-oriented programming: the concepts.

By flower November 28th, 2009

Object-oriented programming (OOP) is generally accepted as being far more flexible than other computer programming languages. It is about defining object classes and instantiating objects from those classes. Details:CSharp Schulung(German).

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

Class
A class may be defined as a self contained unit that encapsulates a set of data and methods that operate on the data. It represents the definition of our object. Once a class is defined, any number of objects can be produced which belong to that class. Used in:Windows Forms Schulung(German).

Object
An object can be defined as a certain instance of a class. 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
Every object has a specific behavior, it is defined in methods of the class. For instance, the behavior of a dog is barking, running etc.

State
All objects by definition have State and Behavior. As an example, the bird is flying, that’s the state of the bird.

Abstraction
Abstraction is the process of extracting essential properties while omitting inessential details. It is the most basic principle of software engineering.

Encapsulation
Encapsulation is storing data and functions in a class. It combines one or more information into a component. The concept of encapsulation is the best strategy to break down complex business cases into small, manageable units. The main benefit of encapsulation is the ability to modify our implemented code without breaking the code of others who use our code. An excellent way to improve your teams C-Sharp skills, is by booking a C++ Schulung(German)}.

http://www.blanchenef.com/

This entry was posted on Saturday, November 28th, 2009 at 7:27 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.