Hello,
On page 301 where it declares the abstract class and on the next page where it extends it, it turns out that no attribute is declared in the parent but only in the child class, namely triangle class.
Since the parent is called "shape", wouldnt one put the main attributes there such as "$side" so that other shapes like rectangle can also use that ?. What would we do then when we create another extension like "class rectangle extends shape" , we are going to need the $sides again.
thank you
A