Exam Title: Java Foundations
Exam Number: 1Z0-811
Exam Price: More on exam pricing
Format: Multiple Choice
Duration: 150 minutes
Number of Questions: 75
Passing Score: 65%
Validated Against: This exam has been validated for version JDK 1.8.
This is a novice-level exam for candidates who are students at secondary schools, 2-year colleges and 4-year colleges and universities. If you are seeking a more career-level certification, you may consider purusing Oracle Database 12c Administrator Certified Associate or Oracle Database 11g Administrator Certified Associate. Those exams are more appropriate for candidates who have completed training though Oracle University or Oracle’s WDP program.
What Is Java?
Describe the features of Java
Describe the real-world applications of Java
Basic Java Elements
Identify the conventions to be followed in a Java program
Use Java reserved words
Use single-line and multi-line comments in Java programs
Import other Java packages to make them accessible in your code
Describe the java.lang package
Working with Java Operator
Use basic arithmetic operators to manipulate data including +, -, *, /, and %
Use the increment and decrement operators
Use relational operators including ==, !=, >, >=, <, and <=
Use arithmetic assignment operators
Use conditional operators including &&, ||, and ?
Describe the operator precedence and use of parenthesis
Working with the Random and Math Classes
Use the Random class
Use the Math class
Using Looping Statements
Describe looping statements
Use a for loop including an enhanced for loop
Use a while loop
Use a do- while loop
Compare and contrast the for, while, and do-while loops
Develop code that uses break and continue statements
Arrays and ArrayLists
Use a one-dimensional array
Create and manipulate an ArrayList
Traverse the elements of an ArrayList by using iterators and loops including the enhanced for loop
Compare an array and an ArrayList
Java Methods
Describe and create a method
Create and use accessor and mutator methods
Create overloaded methods
Describe a static method and demonstrate its use within a program
Java Basics
Describe the Java Development Kit (JDK) and the Java Runtime Environment (JRE)
Describe the components of object-oriented programming
Describe the components of a basic Java program
Compile and execute a Java program
Working with Java Data Types
Declare and initialize variables including a variable using final
Cast a value from one data type to another including automatic and manual promotion
Declare and initialize a String variable
Working with the String Class
Develop code that uses methods from the String class
Format Strings using escape sequences including %d, %n, and %s
Using Decision Statements
Use the decision making statement (if-then and if-then-else)
Use the switch statement
Compare how == differs between primitives and objects
Compare two String objects by using the compareTo and equals methods
Debugging and Exception Handling
Identify syntax and logic errors
Use exception handling
Handle common exceptions thrown
Use try and catch blocks
Classes and Constructors
Create a new class including a main method
Use the private modifier
Describe the relationship between an object and its members
Describe the difference between a class variable, an instance variable, and a local variable
Develop code that creates an object’s default constructor and modifies the object’s fields
Use constructors with and without parameters
Develop code that overloads constructors