For this question, you will implement a method called hopManyAndTurn() that could be placed in a Jeroo subclass. This method takes in two parameters, an int value called hops that indicates how many hops to make, and a CompassDirection (NORTH, SOUTH, EAST, or WEST) the jeroo should turn towards. Using these parameters, implement the method so the jeroo first hops the given distance (it moves hops number of times), then use a while loop to turn the jeroo to face the compass direction. Remember that because this method would go inside a Jeroo subclass, you can use this to refer to the jeroo itself. Your Answer: Feedback X925: Jeroo high jump A Jeroo named pat is at the jeroo olympics to cheer on two friends competing in the high jump. These jeroos can jump super high. Implement the method react() below so that it takes pat and the heights (in meters) of the two jumps as parameters. If either height is at least 4 meters, pat should plant a flower in honor of the jump, unless either height is lower than 2 meters, in which case pat should instead turn left (toward the exit). In the case where pat turns to leave, he should not plant any flowers. Otherwise, pat should do nothing while waiting for the results of other competitors. Your Answer: Feedback Your feedback will appear here when you check your answer. A Jeroo named pat only wakes up and hops when it is time. Implement the following method called wakeUp () that takes pat, two integers, and a boolean value as parameters. If it is at or past pat 's wakeup time, pat will hop () out of bed; otherwise, pat will remain still. The first integer provided represents the day of the week encoded as 0= Sun, 1= Mon, 2= Tue, ... 6= Sat. The second integer represents the hour (0-23), and the boolean indicates if pat is on vacation. On weekdays, if the time is 7(am ) or later, pat should hop (out of bed). On weekends, pat sleeps in, and will hop out of bed at 10 or later. Unless pat is on vacation, in which case hopping out of bed begins at 10 on weekdays, and 12 on weekends. Ynim nwer: Feedback Your feedback will appear here when you check your answer. A Jeroo named pat is hosting a party for the other jeroos on the island. A jeroo party will be a huge success when the number of flowers on the island is between 20 and 45 , inclusive. Unless it is the weekend, in which case there is no upper bound on the number of flowers. Implement the following method so that pat will hop (for joy) if the party with the given values will be a huge success, or stay still otherwise. Your Answer: Feedback Your feedback will appear here when you check your answer. For this question, we will be working with a subclass of Jeroo called Countingleroo that tracks the number of hops it has peformed. You can access the number of hops performed so far by running the gethopCount () method. You will have access to a Countingleroo object named leon and an integer value. Write a series of conditions to handle the following logic: - If the variable value equals 7 , the jeroo should hop 7 times. - If the variable value equals 13 , the jeroo should hop 13 times. - Otherwise, the jeroo should turn left four times. For this question, you will implement a method called hopManyAndTurn() that could be placed in a Jeroo subclass. This method takes in two parameters, an int value called hops that indicates how many hops to make, and a CompassDirection (NORTH, SOUTH, EAST, or WEST) the jeroo should turn towards. Using these parameters, implement the method so the jeroo first hops the given distance (it moves hops number of times), then use a while loop to turn the jeroo to face the compass direction. Remember that because this method would go inside a Jeroo subclass, you can use this to refer to the jeroo itself. Your Answer: Feedback 0.0/ 1.0 Your answer could not be processed because it contains errors: line 4: error: direction has private access in student.micro.jerooJeroo