Java: Three strings, lexicographic order
问题 beginner Java programmer here. I am trying to compare three strings to each other, and have the system spit out the second/middle word in lexicographic order. import java.util.*; public class Ordered2 { public static void main(String[] args) { String firstString, secondString, thirdString; Scanner keyboard = new Scanner(System.in); System.out.println("Enter three different strings."); System.out.println("The string in the middle order lexicographically will be displayed."); firstString =