Essay
Programming
Write a static method named enoughTimeForLunch that accepts four integers hour1, minute1, hour2, and minute2 as parameters. Each pair of parameters represents a time on the 24-hour clock (for example, 1:36 PM would be represented as 13 and 36). The method should return true if the gap between the two times is long enough to eat lunch: that is, if the second time is at least 45 minutes after the first time. Otherwise the method should return false.
You may assume that all parameter values are valid: the hours are both between 0 and 23, and the minute parameters are between 0 and 59. You may also assume that both times represent times in the same day, e.g. the first time won't represent a time today while the second time represents a time tomorrow. Note that the second time might be earlier than the first time; in such a case, your method should return false.
Here are some example calls to your method and their expected return results:
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Parameter Mystery<br>At the bottom of the page,
Q3: Assertions<br>For the following method, identify each
Q4: Programming <br>Write a static method named
Q5: While Loop Simulation<br>For each call of
Q6: Expressions<br>For each expression in the left-hand
Q7: Programming <br>Write a static method named countEvenDigits
Q8: If/Else Simulation<br>For each call of the