Introduction to object-oriented programming.
Object-oriented programming (OOP) can best be expressed as a programming paradigm. In object oriented programming (OOP) you create a model for a real world system. Details:C# Schulung(German).
Before you can begin using OOP, it s essential to know the terminology used.
Class
A class is a blueprint or model that defines the variables and the methods common to all objects of a certain type. It contains member functions for the behavior and member variables for the state. Once a class is defined, any number of objects can be created which belong to that class. Used in:WCF Schulung(German).
Object
An instance of a class is called object. It is a software bundle of related state and behavior. 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. For instance, the behavior of a dog is barking, running etc.
State
Every object has a state. That is, at any point in time it can be described from the data it contains. As an example, the bird is flying, that’s the state of the bird.
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 appropriate. 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 combines one or more information into a component. 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. An excellent way to improve your teams dotnet skills, is by booking a C++ Schulung(German)}.
