- #1
tbrown427
- 1
- 0
I can't get this to test all the way through
Code:
import java.util.Scanner;
public class OrderStrings {
public static void main (String [] args) {
String firstString;
String secondString;
firstString = "rabbits";
secondString = "capes";
if (secondString.compareTo(firstString) >0){
System.out.println("capes rabbits");
}
else {
System.out.println("capes rabbits");
}
return;
}
}