For example, in C++
class A { int age; String name; }; class B : public A { bool is_male; }; B b; A a; a = b; // slicing occurs.
... Contents Fibre optic gyroscope wikipedia.org dumped 2003-03-17 with ...