Friday, July 30, 2010

OOP: the concepts.

January 14, 2010 by Alex  
Filed under General

OOP is a design philosophy. It stands for Object Oriented Programming. Basically, its a style of programming, that makes things a lot easier. Details:C# 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 collection of data and methods that work on the data. It is a programmer defined type that serves as a template for instances of the class. The easiest way to think about a class is to think of it as a prototype. Used in:WCF Schulung(German).

Object
An object is an instantiation of a class. It can be considered a “thing” that can perform a set of related activities. Objects are the fundamental idea behind OOP.

Behavior
The behavior of objects is defined in member-functions. Real-world objects share two characteristics: They all have state and behavior.

State
The state is what data the object holds. So objects of a class are similar except for their state.

Abstraction
Abstraction is used to suppress irrelevant details while at the same time emphasizing relevant ones. It solves the problem in the design side while encapsulation is the implementation.

Encapsulation
Encapsulation is the method of keeping data and methods together inside objects. It combines one or more information into a component. The idea behind encapsulation is to keep the data separate from the code. This is sometimes called data hiding. The main advantage of encapsulation is the ability to change our implemented code without breaking the code of others who use our code. A very good way to improve your teams C-Sharp skills, is by booking a VB Schulung (German)}.

How To Build Muscle

Laptop stands, monitor arms and more

juice feasting

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.