AsteroidField: Inheritance In Action
For this program, you will use inheritance to develop an Asteroidclass that satisfies certain requirements. You will also develop aseparate AsteroidField test driver class to create a field ofasteroids. The number of asteroids to create will be determined bythe value of a command-line argument, as further described belowand in lecture. Your test driver will use the “Blobz.jar” externalJAR file discussed in lecture to display your asteroid field in adynamic simulation context. The output of the program should appearas shown below, with the asteroids all flowing across the field ofview in all directions. When the asteroids move offscreen,
PayPal Gateway not configured
PayPal Gateway not configured