image

CHAPTER

21

Utility Classes

imageach of our previous chapters was dedicated to a specific topic. This chapter, however, is different from earlier chapters. Java provides several utility classes for various purposes. This chapter covers some of these utility classes. Covering the entire set of these classes is beyond the scope of a single book, so I have picked only the most commonly used classes and discuss only their important methods. In particular, we cover the String class, the date and time classes, and the Reflection and Introspection mechanism. ...

Get Java Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.