Question: Java programming question: Design a game in which aliens posses specific characteristics such as color, number of eyes and number of lives. Design a character
Java programming question:
Design a game in which aliens posses specific characteristics such as color, number of eyes and number of lives. Design a character for a game, creating a class to hold at least three attributes for the character. include methods to get and set each of the character's attributes. Save the file as MyCharacter.java. Then create a test class called TwoCharacters.java. where you create at least two characters. Pass each character to a display method that displays the character's attributes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
