Source of TestStringOutput.java


  1: //TestStringOutput.java
  2: 
  3: public class TestStringOutput
  4: {
  5:     public static void main(String args[])
  6:     {
  7:         //You can use one println() to output lots of text, but
  8:         //be sure to break lines properly and insert newlines in
  9:         //the appropriate locations.
 10:         System.out.println("\nNote that you can easily extend "
 11:             + "a single string over more than one line,\nand use "
 12:             + "a single \"println()\" method to output quite a "
 13:             + "bit of text.");
 14:     }
 15: }
 16: