Question: 1. Using SolarSystem as the base class, create two derived classes InnerPlanet and OuterPlanet.2. Create classes for each planet and categorized them in the

1. Using SolarSystem as the base class, create two derived classes InnerPlanetand OuterPlanet.2. Create classes for each planet and categorized them in the

1. Using SolarSystem as the base class, create two derived classes InnerPlanet and OuterPlanet.2. Create classes for each planet and categorized them in the two derived classes. 3. Create a Moon class for planet Earth only and load it with2 distinct properties. 4. Create at least 2 distinct properties for each planets. 5. Create a Main class that will print all the necessary properties (fields and behaviors). 6. Submit all the java files. 1. Create a file and name it CFActivity_(your lastname).java 2. Create a List containing names of planets. 3. Create another List containing ordinality of planets. 4. Create a Map containing the ordinality and names of planets. 5. Print all Map attributes in this manner:

Step by Step Solution

3.48 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

java SolarSystem class base class class SolarSystem Common properties and behaviors of planets can be defined here protected String name ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!