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.
... 2000 census, the town had a total population of 5,400. Geography East Farmingdale is located at 40°43'30" North, 73°25'34" West (40.725061, ...