Once we've achieved a level of confidence with the basics of Java, both the Java syntax and the basic object-oriented concepts that Java was built around, we can then take a look at Java's API and the class libraries that are immediately and easily accessible to us for writing Java programs. We want to do this because we're going to be using these class libraries to speed up our programming and to make use of the work of programmers who have written really great stuff.
Also, taking a look at the Java class libraries, or the class libraries of any programming language really, is also a great way to see how the programming language is designed for use and what optimal coding in that language should look and feel like.
So, in this chapter, we will look at the Calendar class and how it works. We will take an in-depth look at the String class and...