Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use abstract variables?

Status
Not open for further replies.

shareconcepts

Programmer
Joined
Apr 21, 2006
Messages
5
Location
PK
Hi,
The concept of Abstract classes is bit clearer but What is the implementation of Variables of Abstract type? Why, when & how the abstract variables are used in a program.

If anyone has idea, plz share it..
Regards.
 
Abstract classes & members:
and another one explained slightly differently:


the thing is that to use an abstract class, you must inherit from it. (create a new class that inherits from it)
to use its abstract members you must override them.


How do you declare a class to be an abstract class? MustInherit

How do you declare a member to be an abstract member? MustOverride


Hope it clarifies the concept somehow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top