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.
... population of 26450, 13112 are male, and 13338 are female. The population density of the community is 18 inhabitants per km². External links Ludvika ...