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.
... 91.9 males. For every 100 females age 18 and over, there are 87.2 males. The median income for a household in the city is $35,491, and the median income for a family is ...