Class UnicornGroup

java.lang.Object
edu.nwmissouri.animalList.UnicornGroup

public class UnicornGroup extends Object
Provides methods to create and run a group of Unicorn
Author:
Sujith Reddy
  • Constructor Details

    • UnicornGroup

      public UnicornGroup()
  • Method Details

    • create

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

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