From: ts Date: 2005-03-15T22:59:57+09:00 Subject: Re: [newby] class variables and class instance variable? >>>>> "L" == Lionel Thiry writes: L> Would those modifications "correct" its behavior? (I hope I'm not too L> annoying asking to test code for me) no it does the same 0 cats, 0 dogs, 0 animals a new dog a new dog 2 cats, 2 dogs, 2 animals a new cat a new cat a new cat 5 cats, 5 dogs, 5 animals you are still accessing the class variable in Animal -- Guy Decoux