title: How to print shortest String from ArrayList (Java)
body: <p>Ok so the goal is to print the smallest length string ( for example, if input is "co", "college", "colleges", "university"   I want it to print out co. 
  I've tried the college.compareTo( ____ ); as well as a couple other things but I can't seem to get it to print it out. 
  Also it isn't anything fancy (if you've read/have head first java 2nd edition then we are on chapters 5/6)
  I'd rather if you can link me to a video that will show the process of what needs to be done with an explanation but anything is helpful :s been staring at this coding for a couple weeks and kinda went brain dead on it...
  This is what I have so far (accepts strings from user);</p>
  
  <pre><code>ArrayList &lt;String&gt; colleges = new ArrayList &lt;String&gt; ( ) ;
      String input;
      Scanner scan = new Scanner(System.in) ;
      while (true) {
          System.out.println("Please enter your college (Press Enter twice to quit) ");
          input = scan.nextLine();
          if (input.equals ("")) {
              break;
          }
          else {
              colleges.add(input.toUpperCase () );
          }// end of if else statement
      }// end of while loop
  
      System.out.println("The following " + colleges.size() + " colleges have been entered:");
  
      for ( String college : colleges) {
           System.out.println("\n" + college );
           System.out.println("Character count: " +  college.length( ) );
      }// end of for each loop
  </code></pre>