HyperSwitch

Just another WordPress weblog

December 25th, 2009

Object Oriented Programming (OOP) is one of the most important programming paradigms today. To use the Object Oriented approach is a more efficient way to program. Details:C# Schulung(German).

Before you can begin using OOP, it s essential to know the terminology used.

Class
The first concept that you will need to learn is called a “class.” A class is a blueprint used to create objects. 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:WCF Schulung(German).

Object
An Object is an instance of a class. If you look around you, you will see objects everywhere. It can be considered a “thing” that can perform a set of related activities. An object is defined via its class, which determines everything about an object.

Behavior
Every object has a specific behavior, it is defined in methods of the class. To modify an object’s state, one of the object’s behaviors must be used.

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 the method of keeping data and methods together inside objects. Data cannot be accessible to the outside world. Only functions which are stored in the class can access it. This encapsulation is like a contract between the implementer of the class and the user of that class. Encapsulation is one of the most important characteristics of an object oriented system. An excellent way to improve your teams C-Sharp skills, is by booking a Java Schulung(German)}.

  • admin (1523)
  • Leave a Reply

    Spam Protection by WP-SpamFree