class object examples