In VB.NET under console application create the following.
Class Name: Animal
This is a base class from which the other two will inherit from.The abstraction is as it’s named; a generalization for livingcreatures.
Fields:
INITIAL_SEED: Private, Shared, Integer, set equal to 10000 bydefault (where it’s declared, not in the constructor)
RandomNumberGenerator: Private, Shared, type of Random. Refer todocumentation on this class for more information. Invoke the 1argument constructor that takes a seed (aka, pass in INITIAL_SEEDwhen creating this object.). This seeding will allow ourpseudorandom number generation to be repeatable. Make sure todeclare it as Shared, as we wish to only have a single instance ofthe
OR
OR