Jump to ratings and reviews
Rate this book

Java Foundations 1Z0-811 Exam Practice Test

Rate this book
This book contains 114 unique practice questions and answers to help you prepare for the Java Foundations Exam, 1Z0-811.

Each question is annotated with the specific objective to which it pertains and reference links.

This is not a brain dump and these are not the actual questions on the exam, but they are representative of the types of questions and of the information you will need to know to pass the exam.

The practice test contains questions based on the following exam

What Is Java?

Describe the features of JavaDescribe the real-world applications of JavaJava BasicsDescribe the Java Development Kit (JDK) and the Java Runtime Environment (JRE)Describe the components of object-oriented programmingDescribe the components of a basic Java programCompile and execute a Java programBasic Java ElementsIdentify the conventions to be followed in a Java programUse Java reserved wordsUse single-line and multi-line comments in Java programsImport other Java packages to make them accessible in your codeDescribe the java.lang packageWorking with Java Data TypesDeclare and initialize variables including a variable using finalCast a value from one data type to another including automatic and manual promotionDeclare and initialize a String variableWorking with Java OperatorsUse basic arithmetic operators to manipulate data including +, -, *, /, and %Use the increment and decrement operatorsUse relational operators including ==, !=, >, >=, <, and <=Use arithmetic assignment operatorsUse conditional operators including &&, , and ?Describe the operator precedence and use of parenthesisWorking with the String ClassDevelop code that uses methods from the String classFormat Strings using escape sequences including %d, %n, and %sWorking with the Random and Math ClassesUse the Random classUse the Math classUsing Decision StatementsUse the decision making statement (if-then and if-then-else)Use the switch statementCompare how == differs between primitives and objectsCompare two String objects by using the compareTo and equals methodsUsing Looping StatementsDescribe looping statementsUse a for loop including an enhanced for loopUse a while loopUse a do-while loopCompare and contrast the for, while, and do-while loopsDevelop code that uses break and continue statementsDebugging and Exception HandlingIdentify syntax and logic errorsUse exception handlingHandle common exceptions thrownUse try and catch blocksArrays and ArrayListsUse a one-dimensional arrayCreate and manipulate an ArrayListTraverse the elements of an ArrayList by using iterators and loops including the enhanced for

294 pages, Kindle Edition

Published December 20, 2020

5 people are currently reading

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (100%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.