Program 9

Code

  public class PrintingChoices
  {
      public static void main( String[] args )
      {
          System.out.println( "Alpha" );
          System.out.println( "Bravo" );
  
          System.out.println( "Charlie" );
          System.out.println( "Delta" );
         System.out.println();
 
         System.out.print( "Echo" );
         System.out.print( "Foxtrot" );
 
         System.out.println( "Golf" );
         System.out.print( "Hotel" );
         System.out.println();
         System.out.println( "India" );
 
         System.out.println();
         System.out.println( "This" + " " + "is" + " " + "a" + " test." );
 
     }
 }

Picture of the output