Summary
In this chapter, we looked at the Calendar
class of Java to work with dates and times. We saw the String
class in detail. We also saw what exceptions are and how to handle them to make our programs more robust. Then, we walked through the Object
class and some of its methods. Finally, we looked at the primitive classes of Java.
In the next chapter, we'll look at how to process files using Java.