- /**
- * Write a description of class Farm here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
public class Farm
{
public static void main ( ) {
- // Create 3 local pumpkin objects with
- // different weights.
(Note: the term local
- // means
that the objects are to be created
- // in the
main method.)
- //
- // Output the total weight and price
- // of all
the pumpkins.
- //
- // Output the
weight and price of each
- //
individual pumpkin.
- //
- // Have all
the pumpkins grow for 5 weeks
- // and Re-output the the weight and price
- // of each
individual pumpkin.
}
}