Java Practice Questions: Oracle Certified Associate, Java SE 7 Programmer (OCAJP) by Esteban Herrera - Read Online
Java Practice Questions
0% of Java Practice Questions completed

About

Summary

How to become a certified java programmer the easy way
Java 7 certification exams are hard and tricky.

Sometimes, experience in the Java language is not enough. You have to know the format of the questions and understand why some things are the way they are and when and how to use them properly.

Do you know a good strategy to pass the exam? Many people would agree that a good strategy would be the following:


Take a course that covers all the topics of the exam or study with a good study guide.
Practice all you can with mock exams.

The purpose behind this book is to support you with the second point.

This book contains 120 questions for exam IZ0-803, Oracle Certified Associate Java SE 7 Programmer (OCAJP). It will help you to:


Know what is covered by the exam.
Increase your chances to pass the exam by practicing with similar questions.
Strengthen your knowledge of the eight topics covered by the exam.

Including 15 questions for each exam topic this book doesn't claim to have the largest number of practice questions. It claims to have questions that will help you pass the OCAJP exam. It focuses in quality, not quantity.

Each question was chosen to test a particular point of every exam objective. They are not just filler questions that have no relation with the exam. Explanations for the answer(s) of every question are included.

The book was carefully formatted (especially in the questions with code snippets) to provide the best experience as an e-book.

Published: Esteban Herrera on
ISBN: 9781502247124
List price: $5.99
Availability for Java Practice Questions: Oracle Certified Associate, Java...
With a 30 day free trial you can read online for free
  1. This book can be read on up to 6 mobile devices.

Reviews

Book Preview

Java Practice Questions - Esteban Herrera

You've reached the end of this preview. Sign up to read more!
Page 1 of 1

Java Practice Questions: Oracle Certified Associate, Java SE 7 Programmer

By

Esteban Herrera

Copyright © 2013 by Esteban Herrera

www.javapracticequestions.com

All rights reserved.

No part of this publication can be reproduced or transmitted in any form or by any means, electronic or mechanical, without permission in writing from the author.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

This publication is provided as is without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This publication could include technical inaccuracies or typographical errors. Changes are periodically added to the information herein.

The author has taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.

Introduction

Practice Questions Section 1: Java Basics

Practice Questions Section 2: Working with Java Data Types

Practice Questions Section 3: Using Operators and Decision Constructs

Practice Questions Section 4: Creating and Using Arrays

Practice Questions Section 5: Using Loop Constructs

Practice Questions Section 6: Working with Methods and Encapsulation

Practice Questions Section 7: Working with Inheritance

Practice Questions Section 8: Handling Exceptions

Answers Section 1. Java Basics

Answers Section 2. Working with Java Data Types

Answers Section 3. Using Operators and Decision Constructs

Answers Section 4. Creating and Using Arrays

Answers Section 5. Using Loop Constructs

Answers Section 6. Working with Methods and Encapsulation

Answers Section 7. Working with Inheritance

Answers Section 8. Handling Exceptions

Introduction

Java programmer exams are hard and tricky.

Maybe you have been working with Java for some time. Or you have some projects under your belt. Or you have read some books about the language. Or you know some IDEs (Integrated Development Environment) like Eclipse. However, this kind of experience most of the time is not enough to pass the exam. That is because you must not only be deeply familiar with the features of the language, you also have to understand why some things are the way they are and when and how to use them properly. Like I always say, you must have a java compiler inside your head to pass these exams.

To make things worse, you will be under a lot of time pressure (150 minutes for 90 questions) in an exam with a format that is more about theory (concepts, rules, deciding if a piece of code compiles correctly, etc.) than practice (write a program to do 'X' stuff). Well, at least the questions have multiple answers telling you the number of options to choose.

Moreover, with great efforts come great rewards. I am not going to discuss if getting a certificate is going to help you to make more money or getting a better job faster. A certification may or may not help you achieve those results, but I can assure you that it will give you the knowledge and security to become a best programmer, to take better decisions and be more productive in your daily work.

Starting from Java SE 7, Oracle has broken the programmer certification (the base of all other certifications about Java) in two exams.

The first one, the Oracle Certified Associate Java SE 7 Programmer exam (which is the focus of this book), covers the basics of the language and concepts of object-oriented programming to create simple Java applications. Passing this exam is required to take the second exam, the Oracle Certified Professional Java SE 7 Programmer exam which covers advanced concepts and functionality.

How to use this book

This book should not be your only resource if you are planning to take the first Java SE 7 Programmer exam. It is just intended to be a supplement. A good strategy to pass the exam would be the following:

Take a course that covers all the topics of the exam or study with a good study guide.

Practice all you can with mock exams.

The purpose behind this book is to help you with the second point. There are many mock exams and simulators offered by companies that claim to have a lot of questions and drills. The problem with most of them is that many of those questions have nothing to do with the topics covered by the exam, are ambiguous, repetitive or simply are just too easy compare it to the real test.

In contrast, this book presents for each of the eight major topics covered by the exam, 15 well-thought questions properly formatted, each with a link to its answer and an explanation. You can try to answer the question by yourself and after that see if you got the correct answer before proceeding to the next or answer all the questions within a section, record your answers somewhere and then see how many of them you got right. For all the wrong answers, you can go back to study on the topic covered by each question until you master it.

Further, I offer you some tips to pass the exam:

Write a lot of code, but don't use an IDE (they make your life easier at work, but not for the purpose of study to pass the exam).

Don't rush through the exam. Do not read