O'Reilly logo

Oracle Certified Associate, Java SE 7 Programmer Study Guide by Richard M. Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with characters and strings

The primary classes include the String, StringBuffer, StringBuilder, and Character classes. There are several other classes and interfaces related to string and character manipulation, listed as follows, that you should be aware of. However, not all of the following classes will be detailed here.

  • Character: This deals with the manipulation of character data
  • Charset: This defines a mapping between Unicode characters and a sequence of bytes
  • CharSequence: In this, an interface is implemented by the String, StringBuffer and StringBuilder classes defining common methods
  • StringTokenizer: This is used for tokenizing text
  • StreamTokenizer: This is used for tokenizing text
  • Collator: This is used to support operations on locale ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required