You are previewing OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808.
O'Reilly logo
OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808

Book Description

Full coverage of functional programming and all OCA Java Programmer exam objectives

OCA, Oracle Certified Associate Java SE 8 Programmer I Study Guide, Exam 1Z1-808 is a comprehensive study guide for those taking the Oracle Certified Associate Java SE 8 Programmer I exam (1Z1-808). With complete coverage of 100% of the exam objectives, this book provides everything you need to know to confidently take the exam. The release of Java 8 brought the language's biggest changes to date, and for the first time, candidates are required to learn functional programming to pass the exam. This study guide has you covered, with thorough functional programming explanation and information on all key topic areas Java programmers need to know. You'll cover Java inside and out, and learn how to apply it efficiently and effectively to create solutions applicable to real-world scenarios.

  • Work confidently with operators, conditionals, and loops

  • Understand object-oriented design principles and patterns

  • Master functional programming fundamentals

  • Table of Contents

    1. Title Page
    2. Copyright
    3. Publisher's Note
    4. Dedication
    5. Acknowledgments
    6. About the Authors
    7. Introduction
      1. The OCA Exam
      2. Scheduling the Exam
      3. The Day of the Exam
      4. Finding Out Your Score
      5. Exam Questions
      6. Getting Started
      7. Getting Help
      8. Who Should Buy This Book
      9. How This Book Is Organized
      10. Free Online Learning Environment
      11. Conventions Used in This Book
      12. OCA Exam Objectives
    8. Assessment Test
      1. Answers to Assessment Test
    9. Chapter 1: Java Building Blocks
      1. Understanding the Java Class Structure
      2. Writing a <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">main()</i> Method Method
      3. Understanding Package Declarations and Imports
      4. Creating Objects
      5. Distinguishing Between Object References and Primitives
      6. Declaring and Initializing Variables
      7. Understanding Default Initialization of Variables
      8. Understanding Variable Scope
      9. Ordering Elements in a Class
      10. Destroying Objects
      11. Benefits of Java
      12. Summary
      13. Exam Essentials
      14. Review Questions
    10. Chapter 2: Operators and Statements
      1. Understanding Java Operators
      2. Working with Binary Arithmetic Operators
      3. Working with Unary Operators
      4. Using Additional Binary Operators
      5. Understanding Java Statements
      6. Understanding Advanced Flow Control
      7. Summary
      8. Exam Essentials
      9. Review Questions
    11. Chapter 3: Core Java APIs
      1. Creating and Manipulating Strings
      2. Using the <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">StringBuilder</i> Class Class
      3. Understanding Equality
      4. Understanding Java Arrays
      5. Understanding an <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">ArrayList</i>
      6. Working with Dates and Times
      7. Summary
      8. Exam Essentials
      9. Review Questions
    12. Chapter 4: Methods and Encapsulation
      1. Designing Methods
      2. Working with Varargs
      3. Applying Access Modifiers
      4. Passing Data Among Methods
      5. Overloading Methods
      6. Creating Constructors
      7. Encapsulating Data
      8. Writing Simple Lambdas
      9. Summary
      10. Exam Essentials
      11. Review Questions
    13. Chapter 5: Class Design
      1. Introducing Class Inheritance
      2. Creating Abstract Classes
      3. Implementing Interfaces
      4. Understanding Polymorphism
      5. Summary
      6. Exam Essentials
      7. Review Questions
    14. Chapter 6: Exceptions
      1. Understanding Exceptions
      2. Using a <code xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0"><i><b>try</b> </i></code> Statement Statement
      3. Recognizing Common Exception Types
      4. Calling Methods That Throw Exceptions
      5. Summary
      6. Exam Essentials
      7. Review Questions
    15. Appendix A: Answers to Review Questions
      1. Chapter 1: Java Building Blocks
      2. Chapter 2: Operators and Statements
      3. Chapter 3: Core Java APIs
      4. Chapter 4: Methods and Encapsulation
      5. Chapter 5: Class Design
      6. Chapter 6: Exceptions
    16. Appendix B: Study Tips
      1. Studying for the Test
      2. Taking the Test
    17. Free Online Learning Environment
    18. End User License Agreement