From: "Mark J. Reed" Date: 2003-08-22T04:14:55+09:00 Subject: Re: Class variables - a surprising result On Fri, Aug 22, 2003 at 03:47:33AM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Class variables - a surprising result" > on 03/08/22, "Bennett, Patrick" writes: > > |In most languages (C++, Java, Delphi, etc.), class variables (static's) > |are scoped by the *class*, not the entire inheritance chain. > > As far as I know, C++ and Java do not have class variables. They have > static member variables, .. . . which are not inherited, which is why it is surprising to many that Ruby's @@variables are inherited. -Mark