Problem:
Question- Write a class in java name “Time” having two variables minutes and hours. Implement three methods named “ConvertTime_in_hour”, “ ConvertTimeInMinutes” and “ShowTtime”.
Example:
If hr=2 and minutes 45 then time in hours is 2.75 hrs
Please explain the coding of the program using comment.