output in the above examplewe see the command attributes or methods we put in the parent class so that all subclasses or child classes will inherits that property from the parent class if subclass try to inherits methods or data from another subclass then it will through an error as we see when dog class try to call swatstring(methods from that cat classit throws an error(like attributeerror in our case