to show what is object slicing in C++