Appendix B

Classpaths and JARs


    •    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 O’Reilly online learning.

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