Appendix C Upgrading from Java 6 or Earlier

THE UPGRADE TO JAVA SE 8 OCP (JAVA SE 6 AND ALL PRIOR VERSIONS) EXAM (1Z0-813) TOPICS COVERED IN THIS APPENDIX INCLUDE THE FOLLOWING:

  • ✓  Java Collections
    • Develop code that uses diamond with generic declarations
  • ✓  Language Enhancements
    • Develop code that uses String objects in the switch statement, binary literals, and numeric literals, including underscores in literals
  • ✓  Localization
    • Format dates, numbers, and currency values for localization with the NumberFormat and DateFormat classes, including number and date format patterns
  • ✓  Concurrency
    • Use Lock, ReadWriteLock, and ReentrantLock classes in the java.util.concurrent.locks and java.util.concurrent.atomic packages to support lock-free thread-safe programming on single variables
  • ✓  Java File I/O (NIO.2)
    • Recursively access a directory tree by using the DirectoryStream and FileVisitor interfaces
    • Observe the changes in a directory by using the WatchService interface

images

Oracle offers developers who hold a Java 6 or earlier professional certification a direct path to become OCP 8 certified in the form of a dedicated upgrade exam (1Z0-813). If you are studying for this particular exam, then you should pay close attention to this appendix, as it includes objectives that are not part of the other OCP exams. For example, those individuals with an OCJP 1.6 certification who skipped ...

Get OCP Oracle® Certified Professional Java® SE 8 Programmer II 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.