logo



Introduction to OOP. thumbnail

Introduction to OOP.


December 8, 2009

Object-oriented programming (OOP) is widely accepted as being far more flexible than other computer programming languages. It is about defining object classes and instantiating objects from those classes. Details:VB.NET 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 piece that encapsulates a set of data and methods that operate on the data. You need it to be able to create objects from. Remember a class is just template for an object. Used in:WPF Schulung(German).

Object
An instance of a class is called object. It is a software bundle of related state and behavior. Objects are the fundamental idea behind OOP.

Behavior
Every object has a specific behavior, it is defined in methods of the class. As an example, the behavior of a dog is barking, running etc.

State
The state is what data the object holds. Bicycles have some state (current gear, two wheels) and behavior (change gears, brake) in common.

Abstraction
Abstraction is the arrangement of simple concept to the external world. 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. Encapsulation is most often achieved through information hiding. As such, encapsulation is a central principle of good software architecture. A very good way to improve your company’s dotnet skills, is by booking a VB Schulung (German)}.

Comments are closed.