Posted on
October 17th, 2008 0 Comments
Simpler methods in the classes have been changed to inline code to shorten the file considerably. In a practical programming situation, methods that are this short should be programmed inline since the actual code to return a simple value is shorter than the code required to send a message to a non-inline method.
/*******************************************************
*...
Read More |
Make a Comment
Posted on
October 10th, 2008 6 Comments
In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird.
One reason to use inheritance is that it allows...
Read More |
Make a Comment
Posted on
October 10th, 2008 6 Comments
In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird.
One reason to use inheritance is that it allows...
Read More |
Make a Comment
Posted on
September 22nd, 2008 0 Comments
Class inheritance is not just about reusing the classes at many locations, it also adds enormous flexibility to the way in which one can program his application.
The object-oriented programming approach focuses on objects as the basis for application building. Objects are instances of classes, which contain a description of related data and procedures. The Visual...
Read More |
Make a Comment
Posted on
September 15th, 2008 0 Comments
In real life inheritance is what we acquire from our parents. For example our lifestyle, way of talking etc…
In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a...
Read More |
Make a Comment
Posted on
September 12th, 2008 16 Comments
Once again we are into a completely new topic with terminology which will be new to you. If you are new to object oriented programming, you should follow along in this tutorial very carefully because every attempt has been made to define every detail of this new and somewhat intimidating topic.
One term which must be defined is polymorphism, a rather large word...
Read More |
Make a Comment
Posted on
September 11th, 2008 2 Comments
Before getting into the discussion of what are the object oriented programmingtechniques, let’s first look at
What makes a programming language or programming methodology object oriented?
Well, there are several indisputable pillars of object orientation.
These features stand out more than any other as far as object orientation goes.
They are
Encapsulation
...
Read More |
Make a Comment
Posted on
September 10th, 2008 3 Comments
This tutorial will actually be a continuation of the topics covered in the last tutorial of Virtual Functions but this will be a fuller explanation of what virtual functions are and how they can be used in a program. We will present a simple database program with a virtual function to show how it can be used, then we will go on to illustrate a more complex use...
Read More |
Make a Comment