You expect the no-arg T() method to automatically execute when you create a new object. But that will NOT happen! This is because the different methods that you have declared are NOT constructors! A constructor does NOT have any return type. NOT EVEN VOID! So it should be this way:
Notice that I have also removed the "void" from each method signature.
Whereas, in the second case, you are simply calling the method. [ July 11, 2007: Message edited by: Shyam Prasad Murarka ]