Java 8 Se OCA 1Z0 808 Exam Study Guide

Posted by Monik, 03 March 2016.
Programming Java
Book summary

These are my study notes taken while preparing for Java Oracle Certified Associate exam and reading the “Oca: Oracle Certified Associate Java Se 8 Programmer I Study Guide: Exam 1z0-808” by Jeanne Boyarsky. Reading such study guide is in my opinion the best way to prepare for the exam, as it actually teaches you things you will need on the exam rather than what you need when you program in Java (which is entirely different than taking an exam, of course). Here I make notes on the stuff I found new, important or surprising.

Some background about me - I have been programming in Java for about 7 years now (plus minus 2 years, I’m not good at memorizing stuff:P). My programming experience I started at Java 5, by reading thoughroughly the first two thirds of Thinking in Java book (what I didn’t read were threading and custom annotations), and then starting my first job. I recently understood some Java 8 stuff, though this came mostly by learning F# aside (a functional language derived from C#).

Very important: please comment if you see an error.

Table of contents

Things that surprised me about the exam

Important non-Java 8 stuff I actually didn’t know about (and learnt from that book)

General things that surprised me about Java

On the self assesment test (40% correct)

Chapter 1 Java Building Blocks (83% correct on the test)

$ javac com/bla/Zoo.java
$ java com.bla.Zoo**

where Zoo has static void main of course (JDK required for javac, for java only JRE); if main is missing the process will throw exception; if main is wrong signature the Java will throw exception; args[0] is not the program name but the first input arg; if an input arg has a space, wrap it in d-quotes;

Chapter 2 Operators and Statements (70% correct on the test)

Chapter 3 Core Java APIs (69% correct on the test, 23/33 questions)

String

Array

ArrayList

Wrappers for Primitives

Dates and Times

Manipulating Date and Time

Formatting Date and Time

Parsing Date and Time

Chapter 4 Methods And Encapsulation (48% correct, but very very fed up)

Chapter 5 Class Design (45% correct)

Chapter 6 Exceptions (80% correct, 16/20)


Comments


Comments: