Introduction to OOP.
Posted on July 7, 2010OOP is a design philosophy. It stands for Object Oriented Programming. 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
The first concept that you will require to learn is called a “class.” A class is a blueprint used to construct objects. It represents the definition of our object. Recall a class is just template for an object. Used in:WPF Schulung(German).
Object
An object can be defined as a specific instance of a class. It combines various classical data types into a set that defines a new variable type. An object is defined via its class, which determines everything about an object.
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
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 procedure of extracting essential properties while omitting inessential details. 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 means as much as shielding. Each object has a shield around 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 C-Sharp skills, is by booking a Java Schulung(German)}.
Categories: All