Introduction - If you have any usage issues, please Google them yourself
Write a base class base with two methods, and call second methods in the first method (second methods to write arbitrary output statements and then write a derived class derived, and cover the parent class of second methods produce a derived object, will it do the type conversion (that is converted to base type), and call the first method