Appendix B

Classpaths and JARs

CERTIFICATION OBJECTIVES

    •    Use Packages and Imports

    •    Determine Runtime Behavior for Classes and Command-Lines

    •    Use Classes in JAR Files

    •    Use Classpaths to Compile Code

    image Two-Minute Drill

Q&A Self Test

Note: This appendix covers topics included in the OCPJP 5 and OCPJP 6 exams, but that are no longer included in the OCP 7 exam. A few sections in this bonus appendix might be repeated in the book. These sections are (more or less) repeated here so this appendix will be cohesive.

You want to keep your classes organized. You need to have powerful ways for your classes to find each ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.