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 1Z0-808 is a comprehensive study guide for those taking the Oracle Certified Associate Java SE 8 Programmer I exam (1Z0-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
Chapter
Answers to Assessment Test
Chapter 1 Java Building Blocks
Understanding the Java Class Structure
Understanding Package Declarations and Imports
Code Formatting on the Exam
Reading and Writing Object Fields
Instance Initializer Blocks
Distinguishing Between Object References and Primitives
Declaring and Initializing Variables
Declaring Multiple Variables
Understanding Default Initialization of Variables
Instance and Class Variables
Understanding Variable Scope
Ordering Elements in a Class
Chapter 2 Operators and Statements
Understanding Java Operators
Working with Binary Arithmetic Operators
Working with Unary Operators
Logical Complement and Negation Operators
Increment and Decrement Operators
Using Additional Binary Operators
Compound Assignment Operators
Understanding Java Statements
The if-then-else Statement
Understanding Advanced Flow Control
Creating and Manipulating Strings
Using the StringBuilder Class
Important StringBuilder Methods
StringBuilder vs. StringBuffer
Understanding Java Arrays
Creating an Array of Primitives
Creating an Array with Reference Variables
Understanding an ArrayList
Converting Between array and List
Working with Dates and Times
Manipulating Dates and Times
Formatting Dates and Times
Chapter 4 Methods and Encapsulation
Applying Access Modifiers
Default (Package Private) Access
Designing Static Methods and Fields
Calling a Static Variable or Method
Passing Data Among Methods
Creating Immutable Classes
Introducing Class Inheritance
Applying Class Access Modifiers
Calling Inherited Class Members
Creating Abstract Classes
Defining an Abstract Class
Creating a Concrete Class
Extending an Abstract Class
Default Interface Methods
Understanding Polymorphism
Polymorphism and Method Overriding
Understanding Exception Types
Catching Various Types of Exceptions
Throwing a Second Exception
Recognizing Common Exception Types
Calling Methods That Throw Exceptions
Appendix A Answers to Review Questions
Chapter 1: Java Building Blocks
Chapter 2: Operators and Statements
Chapter 3: Core Java APIs
Chapter 4: Methods and Encapsulation
Creating and Running Sample Applications
Understanding the Question
Applying Process of Elimination
Getting a Good Night’s Rest
Free Online Learning Environment