Yesterday I passed OCP with 86%. I had ~3 weeks of preparation during the time after work. I attribute this success to the amazing book of Jeanne Boyarsky & Scott Selikoff. What a well written book! It was very structured, straight to the point and with just a little bit of humor, which can brighten you up in the long nights. Here is how I prepared:
Passed each chapter from the book and doing the review questions. They cover some of the more important edge cases so it`s good to have a look. However, don`t feel bad if you get bad results on them. They should be used as a tool to point out your weaknesses and the idea is to go back and cover the gaps
I bought tests from Udemy. They also cover a lot of edge cases and some of the questions really blowed my mind
Enthuware mock exams. They are a total of 6 and I did one for the last 6 days before my exam. Here are the results:
Last day test
Some general tips for the exam Don`t forget that at the end of the day, it`s a test. There are a lot of strategies which can get you to the correct answer without knowing it initially. I had examples where some code should have been replaced with lambda function and 3 out of the 4 possible answers couldn`t compile. That way I managed to figure out a question for less than half a minute without having to read trough all the boilerplate. The bad thing is that if you are not careful enough, you might fail a question which covers topics that you know.
My exam sample was mostly consisted of streams, NIO, JDBC and Time API and Concurrency as here I listed them in the amount they appeared in the exam. I had only one question, considering the Generics and very few about Inner classes, Collections.
You can ask me here for more details, before I forget everything.