inheritance

Not printing array