Can a class variable of say, class Foo be a Foo object itself?
class Foo
Foo
For example, I\'m trying to build a class for the finite field of order 11, and
Yes it can, but the name doesn't exist until the class statement finishes. Therefore, you have to set this class variable after creating the class, perhaps just below the class block or in the instance initializer.