Private inheritance makes showType() completely hidden from outside.
The derived class can still call it, but nothing outside the class hierarchy can.
Layman’s Terms
It’s like a secret tool in a locked drawer — only the device itself uses it, and no one else can even see it.
Significance for Embedded Developers
Private inheritance can model “implemented in terms of” relationships. For instance, a higher-level actuator class might reuse a low-level device API internally, without exposing it publicly.