I've been working on a class called ClockTime where methods are used to carry out various tasks on time. My code is as follows:
I'm having problems with method equals() and method before(). When I call method equals(), even if I plug values into each array that make them identical, it is returning the
string that they are NOT equal. Same thing happens when I specify values that aren't equal.
When I call method before(), if I use values that make myTime occur before clock, it still returns false. Same thing happens vice versa.
I don't think I'm fully grasping the relationship between arrays and equality. Please help!
THANKS!