LRM Example of polymorphism wrong?

In reply to prasadaddagarla:

It may not be a good programming practice, but there is nothing illegal about re-defining class properties in an extended class. The thing that you have to remember is that re-defining is really overriding or hiding the definition in the base class. The members still exist in the base class.