Pages

Search This Blog

Tuesday, 9 August 2011

VIRTUAL CLASS

Virtual Classes are inner classes of another outer class, which behave like virtual functions. This means they can be overridden in a subclass of the outer class, and the run time type of a virtual class depends on the run time type of an object of the outer class. (Just like the run time type of an object decides which virtual function should be used.)

No comments:

Post a Comment