Class GoatGroup

java.lang.Object
edu.nwmissouri.animalList.GoatGroup

public class GoatGroup extends Object
Provides methods to create and run a group of Goats
Author:
Rohan Kondaveeti
  • Constructor Details

    • GoatGroup

      public GoatGroup()
  • Method Details

    • create

      public static int create()
      Create a static group of Goats
      Returns:
      the number of animals in the group
    • run

      public static void run()
      Run (simulate) the group doing things