Problem
a. Computer games often contain different characters or creatures. For example, you might design a game in which alien beings possess specific characteristics such as color, number of eyes, or number of lives. Create an Alien class. Include at least three data members of your choice. Include a constructor that requires a value for each data field and a method named to String()that returns a string that contains a complete description of the Alien.
b. Create two classes-Martian and Jupiterian-that descend from Alien. Supply each with a constructor that sets the Alien data fi elds with values you choose. For example, you can decide that a Martian has four eyes but a Jupiterian has only two.
c. Create an application that instantiates one Martian and one Jupiterian. Call the toString() method with each object and display the results.