Chapter 13. STRINGS

     

DO OR DIE:

  • Don't tell me what to do


A String is a set of zero or more characters . A String can be empty, or its reference can be null, or it can contain the entire text of King Lear . Strings are objects in the java.lang package, and are used so frequently that they are the only class in Java with their own special constructor syntax. In this topic, we put the moves on a few String objects and see how they like it.



Java Garage
Java Garage
ISBN: 0321246233
EAN: 2147483647
Year: 2006
Pages: 228
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net