/** * This class prints a count down. * Illustrates the difference between print and println. * * @author Lewis/Loftus modified by alchambers * @version sp17 */ public class Rocket{ public static void main(String[] args){ System.out.print("Three..."); System.out.print("Two..."); System.out.print("One..."); // The println method prints the string literal // and then advances to the next line System.out.println("Liftoff!"); System.out.println("Houston, we have a problem."); } }