/* CSC 17 Lab 1 due BEFORE next week's lab The first assignment asks you to convert a C++ program into Java, then make some additions to the java program. You are expected to also have read the C++ to Java tutorial (at least first half). Type "javac programname.java" to compile source code programname.java. Then type "java programname" to run the program. Remember: if the file name is "programname.java", then the public class that contains main must be called "programname" as well. 1. The program you're asked to convert implements "Time" objects with a minutes and a seconds value. For example, 'new Time(2,15)' creates a heap-allocated object representing 2 minutes and 15 seconds. You will then implement a number of operations including adding two time values (2min 15sec plus 1min 50sec = 4min 5sec). The C++ program was written in a way so that it can be easily converted to a close java equivalent. For example, it only uses heap-allocated objects with pointers, though I didn't use smart pointers as some of you are not familiar with those. I also marked some methods "virtual" because technically there would be no java equivalent otherwise. To have std::cout call the "toString()" method in C++, you would have to overload the '<<' operator in C++. In java, this is done by inheritance ("overriding" instead of "overloading"): the toString method in your class overrides the toString method in the Object super-super class. To convert the `compareTo` method, you should also mark the class as `implements Comparable