R Gle wrote:The base class Mammal has a String variable called name. The subclass, Zebra, also has a variable called name. Why does this compile? What am I missing? Doesn't Zebra inherit the superclass member variables?