1 2 3 4
virtual void Method(Parent* a) { Child1 object=static_cast<Child1*>(a); }
1
Parent* a=new Child2();