Preparing for the Java SE 7 Programmer II (1Z0-804) exam

java logo

Recently, I passed my exam for Java SE 7 Programmer II (1Z0-804) with a score of 75%.I thought this exam is quite difficult and it takes some time to prepare. Therefore, in this post I would like to share my experiences. Hopefully it will be useful to others.

Exam questions

I’m not allowed to share the exam questions. However, I can give some hints about the type of questions that will be asked. In my exam I noticed a lot of questions were related to multithreading and class design (usage of casts, overrides, overloads, co-variant overloads, nested classes, etc…). In my case the exam coverage was as follows:

  • Threads & Concurrency (25%)
  • Class design (20%)
  • Material related to Java SE 7 Programmer I (10%)
  • JDBC (5%)
  • Exceptions (5%)
  • Assertions (5%)
  • Java IO, NIO & NIO2 (10%)
  • Generics & Collections (10%)
  • String processing (5%)
  • Localization (5%)

When taking this exam especially timing is important. You have to answer 90 questions in 150 minutes, i.e., you have 150/90 = 1 minute and 40 seconds per question. Please take into account that this amount of time is usually too short to answer questions related to Threads & Concurrency and Class design. Therefore, it’s very important that you are able to answer the questions related to the remaining topics very quickly, e.g., say within 30 to 60 seconds.

Preparation material

In order to prepare for the exam I used various resources. Below I will list the pros and cons of those resources.

The book Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805: A Comprehensive OCPJP 7 Certification Guide

Pros: the book gives you a good overview of the topics you have to know for the exam. It’s a good starting point to prepare for the exam.

Cons: it’s too general. When doing the exams or mock exams you will discover that you are missing information. For instance, topics regarding RandomAccess files and using the buffer’s mark functionality are not discussed.

Recommendation: read the book at least once in order to know which topics to expect on the exam. More detailed information regarding the topics can be found on the internet or using exam simulation software.

Oracle websites 

Pros: The oracle websites contain a lot of information, which might be overwhelming in the beginning. However, most exam questions are based on the information given on those pages. Especially the notes and special cases that are mentioned on the tutorial pages are helpful. For instance, on the tutorial page they mention the following regarding overriding and hiding methods:

“Static methods in interfaces are never inherited.”

This piece of information is useful when answering questions regarding class design for instance.

Cons: the information is overwhelming and it will take some time to process. Besides, it’s incomplete, not all information can be found in the API or on the tutorial pages. For more detailed information I would recommend to use the java specification as reference.

Recommendation: Read all tutorial pages at least once and make a list of all those notes and special cases. On the exam there will be implicit questions regarding those notes. Regarding the API only read the methods which are not clear to you initially. In addition, you should also check for exceptions and overloaded methods related to the method you are looking at.


Pro: Good website in case you want to practice exam questions regarding Exceptions and NIO2. In addition, the website gives good and detailed explanation for each answer.

Cons: The mock exam questions are not covering all topics. There is strong focus on exceptions and NIO2 functionality. To me it felt the questions were a bit outdated. In my opinion they were too easy and more a continuation of the java programmer I exam.

Recommendation: Just practice and understand all exam questions, but don’t assume that when you are finished that you are ready for the exam.


Pro: Large exam question bank covering all topics. The questions vary from easy to very hard. Furthermore, the explanations for all questions are very detailed and clear.

Cons: Some questions are too difficult and can’t be compared with the level of difficulty you will face on the real exam. In addition, the mock exams may demotivate you, since the mock exams are very challenging and you are wrong most of the time.

Recommendation: Make all the exam questions and keep practicing. In addition, make notes regarding the mistakes you made. Initially the questions are hard, but you get used to it the more you learn and practice. The level of difficulty is more or less the same as the real exam.

My notes

When preparing for this exam I made some notes, it might help you during the preparations. Some of the notes are quite specific and even not mentioned in the Java API. You can find my notes here:


The Java SE7 programmer II exam is hard, it’s much harder than the Java SE 7 Programmer I exam. So you better be prepared, don’t underestimate it! The preparation time will probably vary between two to six months. I hope that the shared information is useful and hopefully it will help you with preparing the exam more efficiently. Feel free to ask any questions, I will try my best to answer them.

1 thought on “Preparing for the Java SE 7 Programmer II (1Z0-804) exam

  1. Pingback: Java SE 7 Programmer II (1Z0-804) notes « Personal « Brett Rijnders

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.