Introduction

This chapter covers the classes and interfaces of the java.lang package. This chapter is important because several exam questions require knowledge of this package. This chapter, like the exam, focuses on the few important classes of java.lang: Object, Class, System, String, StringBuffer, Math, and the wrapped classes. It also briefly covers the other classes and interfaces of java.lang. If you read through this chapter and master the review questions, you should be able to significantly improve your score on the certification exam.

The java.lang package provides 31 classes and 3 interfaces (not counting the Error and Exception classes and their subclasses) that are fundamental to Java programming. These classes and interfaces are ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.