Sunday, 19 April 2015

Java 8 - Beta Exam Attempt

Well, last Wednesday, 15 April 2015, I tried to get certified in Java 8 by taking the Upgrade to Java SE 8 Programmer Exam. It contained 126 questions and I was given 3 hours to provide all the answers.

For more information on what topics are required reading, see reference [1].

Given the fact that I am not yet comfortable with the new features of Java 8, answering the questions took a lot of time. I was unable to complete the last 12 questions due to this.

The beta exam is now no longer available.

I'll have to wait approximately 11 weeks for a result, though. A long time to wait, but that's always the case with Beta exams.

At least it's behind me now. Next up is trying to get certified with Scrum.


Here are some of my thoughts:
  • there were a number of 'trick' questions
  • learn the method signatures of java.util.function, luckily the naming scheme is extremely consistent
  • learn the difference between the source of stream, the intermediate operations, and the terminal operations. Here's some pointers:
    • a stream, once evaluated, can no longer be used. Trying causes an InvalidStateException.
    • omitting a terminal operation, causes the Stream to not be evaluated at all.
    • using two terminal operations, of course, causes a compile error
    • a stream doesn't change the underlying source
  • learn the additional operations now available (using Lambdas) on the already existing Collections of the Collection framework
  • learn when an interface is a functional interface. Here's some pointers:
    • @FunctionalInterface is not a requirement
    • what happens when you add default methods?
    • what happens when you add an abstract method?
    • what happens when you add an abstract method, whose signature is equivalent to an existing method in the Object class?
    • what happens when you add a static method?
    • what happens to a functional interface that inherits from another interface
  • Remember what Daylight Saving Time is, the clock is advanced by one hour during summer months (in March), the clock is returned to normal time (turned back one hour) during the winter months (in October)
  • practice,... a lot ([2] is a good reference with exercises)


[1] 1Z1-810 Upgrade to Java SE 8 Programmer
[2] Java SE8 for the Really Impatient
Cay S. Horstmann