tejas, A constructor for any class returns an instance (actual object) of the class in which it is defined in... Normally you have to define a return type, but the constructor is a special case and it's return type is always the type of object defined in your class... and the only way to call a constructor is via the new keyword. (illustration only... not actual code... the code in angle brackets would not actually be in a real program.) -
Write once, run anywhere, because there's nowhere to hide! - /. A.C.