String Introduction Exercises

  < Previous  Next >
Look at the documentation for the String class.
  1. Read the description near the top (which starts with "The String class represents character strings...").
  2. Look at the Method Summary section.
    1. How many methods are listed?
    2. Which ones do you recognize?
    3. Click on a method that you recognize and read it's description. Write your own Java code that uses that method.
    4. Click on a method you don't already know about and read it's description. Write your own Java code that uses that method.