X862: Jeroo with bonus flowers

You are writing a subclass of Jeroo called BonusJeroo and the constructor appears below. Modify the constructor so that the Jeroo begins with 5 more flowers than requested (5 bonus flowers). Do this by changing the super() call only (you may not add any additional statements to the constructor).

Your Answer:

x
 
1
public BonusJeroo(CompassDirection direction, int flowers)
2
{
3
    super(direction, flowers);
4
}
5

Feedback

Your feedback will appear here when you check your answer.