... X::f3()px->f4(); //function X::f4() }class Y:public X { public:void f1() { } void f2(int a) { } char f3() { } void f4() { } };32© 20 04, HOÀNG MINH SƠNChương 7: Quan hệ lớp ©2007 AC - HUT7 .4 ... [(10,20)(60,70)]Textbox: [(10,20)(20,30) Hello]Now they are resized Rectangle: [(20 ,40 )(120, 240 )]Square: [(20 ,40 )(120, 140 )]Textbox: [(20 ,40 ) (40 ,60) Hello]Chương trình 1Rectangle: [(0,0)(50,100)]Square: [(0,0)(50,50)]Textbox: ... trình 228© 20 04, HOÀNG MINH SƠNChương 7: Quan hệ lớp ©2007 AC - HUTHàm ảoclass X { public:virtual void f1() { } virtual void f2() { } virtual void f3() { } void f4() { } };void...