Below the code is where I put the input and output of the program, and setting the compareTo() < 0 fixed my problem
Type: Posts; User: Drasumok
Below the code is where I put the input and output of the program, and setting the compareTo() < 0 fixed my problem
I've been having an issue with a lab that I'm doing for school and my professor specifically wants us to use the .compareTo() method for the following code:
import java.util.*;
public class...