Introduction to OOP.

OOP is a design philosophy. It stands for Object Oriented Programming. How data is modeled and manipulated through the use of objects is essential to any object-oriented program. Details:CSharp Schulung(German).

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

Class
A class is a blueprint or prototype that defines the variables and the methods common to all objects of a certain kind. You need it to be able to create objects from. The easiest way to think about a class is to think of it as a prototype. Used in:Windows Forms Schulung(German).

Object
An instance of a class is called object. It combines various classical data types into a set that defines a new variable type. Software objects are often used to model real-world objects you locate in everyday life.

Behavior
Every object has a specific behavior, it is defined in methods of the class. Software objects are modeled after real-world objects in that they have state and behavior.

State
To define objects we have to define two things: state and behavior. Bicycles have some state (current gear, two wheels) and behavior (change gears, brake) in common.

Abstraction
Abstraction refers to the act of representing essential features without including the background details or explanations. It solves the problem in the design side while encapsulation is the implementation.

Encapsulation
Encapsulation is hiding the details of the implementation of an object. It is nothing but hiding information also called information hiding. This encapsulation is like a agreement 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. A very good way to improve your teams C-Sharp skills, is by booking a Java Schulung(German)}.

No Comments

Leave a reply