for the constructor, create two (2) parameters. One parameter will be of type integer and the other will be of type String. The constructor’s code will check the value of the String parameter and assign an image, and type appropriately:
a) If the String value of the second parameter is “happy”, assign the first image and speed set to two (5) and set type to “happy”.
b) If the String value of the second parameter is “sad”, assign the second image and speed set to four (1) and set type to “sad”.
c) If the String value of the second parameter is “angry”, assign the third image and speed set to one (9) and set type to “angry”.
need help with this please