");
$i1 -> printProperties();
unset($i1);
$i2 = new Item( );
print ("printProperties output from constructing with default values
");
$i2 -> printProperties();
$i2 -> setId(12016); // assign values to instance variables
$i2 -> setName("Garlic Press");
$i2 -> setPrice(13.95);
echo "Output produced by individually invoking accessor methods
";
print ("For id ".$i2 -> getId().", name ".$i2 -> getName().", the price is ".
$i2 -> getPrice()."
");
?>