lotus

previous page: 1.15) What Is The Difference Between Object-Based And Object-Oriented? (Object-Oriented Technology)
  
page up: Object-Oriented Technology FAQ
  
next page: 1.17) Is An Object A Class? (Object-Oriented Technology)

1.16) Is A Class An Object? (Object-Oriented Technology)




Description

This article is from the Object-Oriented Technology FAQ, by Bob Hathaway rjh@geodesic.com with numerous contributions by others.

1.16) Is A Class An Object? (Object-Oriented Technology)

In C++ no, because C++ classes are not instances of an accessible class (a
Meta-Class) and because C++ classes are not accessible to programs. Classes
are objects in 3 Level Systems and above because classes are instances of
meta-classes. But classes play a dual role, because objects can only be
declared to be instances of a class (and class objects instances of a
meta-class). In 1 Level (single-hierarchy) systems, all classes are objects.

 

Continue to:













TOP
previous page: 1.15) What Is The Difference Between Object-Based And Object-Oriented? (Object-Oriented Technology)
  
page up: Object-Oriented Technology FAQ
  
next page: 1.17) Is An Object A Class? (Object-Oriented Technology)