KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
2016 java9-how-make-qus
1. How to Study for Java 9 Certification
and Save on Certification Fees
slideshare.net/boyarsky
Twitter @jeanneboyarsky
Blog: http://www.selikoff.net
Moderator on forums at:
http://www.coderanch.com
Jeanne Boyarsky
5/4/16
2. Pros of Beta Exams
• Only $50 (vs $245)
• Get same cert at end
• Sometimes clues in one
question for another
@jeanneboyarsky
3. Cons of Beta Exams
• Longer exam
• More questions
• Errors in questions
• Don’t get result for
many weeks
• Lack of study materials
@jeanneboyarsky
4. How did you do?
• Can’t know
• Depends which questions chosen
• Grading errors on OCP 8 beta
@jeanneboyarsky
5. Study Plan
• List topics to study
• Learn them
• Identify tricky points
• Optional: Make your own questions
@jeanneboyarsky
6. Example: Java 8 Stream Pipeline
What are some tricky points about terminal
operators?
• Must be exactly one terminal operation
• Returns non-stream
• No terminal operation means stream not run
• Once run terminal operation, stream invalid
@jeanneboyarsky
8. Example: Java 8 Constructor
References
What are some tricky points about
constructor references?
• Syntax String::new
• Pass when need Supplier
• Doesn’t resolve to the type
@jeanneboyarsky
9. Another sample question
• Could we do a fill in the blank question?
• What could we alter in the question?
• What could be tricky?
@jeanneboyarsky
10. Cert Timeline Timeline
Event Date
March 2014 Java 8 Release
August 2014 Java 8 OCA Beta
April 2015 Java 8 OCP Beta
March 2017 Java 9 Release
11. What’s in Java 9
• Jigsaw
• JShell (Nashorn was originally on OCP
beta)
• Process API
• GC changes
• etc
@jeanneboyarsky
12. Let’s use JShell
• Oracle had Nashorn on the OCP 8 beta
• JShell is successor
• Appears to have same limitations
• No up arrow support
• No tab autocomplete
• Needs more automatic imports
@jeanneboyarsky
13. Exercise: Reading for details
List as many key/tricky points as we can in
http://tinyurl.com/javasig-java9shell
• http://blog.takipi.com/java-9-early-access-a-
hands-on-session-with-jshell-the-java-repl/
• http://openjdk.java.net/jeps/222