Introduction to OOP.
OOP is a design philosophy. It stands for Object Oriented Programming. To take the Object Oriented approach is a more effective way to program. Details:.NET C# Schulung(German).
To get a picture of object oriented programming, there are a few concepts you will require to become familiar with.
Class
A class is used to express something in the world, things or external entities. It’s where Variables and Methods are defined. What this basically means is that we supply a blueprint, or an outline of an object. Used in:Windows Forms Schulung(German).
Object
An object can be defined as a specific instance of a class. It combines different classical data types into a set that defines a new variable type. When a program is executed, objects act together with each other.
Behavior
Behaviors are things the object does, defined in the methods of the class. To modify an object’s state, one of the object’s behaviors must be used.
State
The State is kept in variables, the Behavior is implemented in functions. For instance, the bird is flying, that’s the state of the bird.
Abstraction
Abstraction refers to the act of representing essential features without including the background details or explanations. It is the ability to recognize the essential underlying core of a problem.
Encapsulation
Encapsulation hides the behavior of an object from its implementation. Data cannot be accessible to the outside world. Only functions which are stored in the class can access it. The idea behind encapsulation is to keep the data separate from the code. This is sometimes called data hiding. Encapsulation is one of the most important characteristics of an object oriented system. An excellent way to improve your company’s dotnet skills, is by booking a VB Schulung (German)}.