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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.