I have a parent class called A, and a subclass called B. B has method printB();
Why can I c-style cast an A pointer to a B pointer and access method printB()? even