Thank you, Jabber, HH and Eric Wu. With your kind help, I got an idea about polymorphism. But i'm not sure whether it's right. polymorphism is just overloading and overriding. Maybe include some upcasting. I feel it's based on inheritence, just like HH and Mr. Wu's perfect examples. I think I can get more feeling with your instruction. thank you very much.