Programming Homework Help
Programming Homework Help. java coding help
I need you to review and complete the assignment then send me screen shot of the output and the .java file please
see the codes attached
This is how the .equal method () should look like :
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof Time) {
Time otherTime = (Time) obj;
return otherTime.hrs == hrs && otherTime.mins == mins && otherTime.secs == secs;
}
return false;
}