Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
2016 java9-how-make-qus
2016 java9-how-make-qus
Loading in …3
×
1 of 15

2016 java9-how-make-qus

0

Share

Download to read offline

Using Java 9 jshell feature to show to to study and make mock exam questions

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

2016 java9-how-make-qus

  1. 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. 2. Pros of Beta Exams • Only $50 (vs $245) • Get same cert at end • Sometimes clues in one question for another @jeanneboyarsky
  3. 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. 4. How did you do? • Can’t know • Depends which questions chosen • Grading errors on OCP 8 beta @jeanneboyarsky
  5. 5. Study Plan • List topics to study • Learn them • Identify tricky points • Optional: Make your own questions @jeanneboyarsky
  6. 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
  7. 7. Writing sample questions • Code • Question • Answers • Change one thing @jeanneboyarsky
  8. 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. 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. 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. 11. What’s in Java 9 • Jigsaw • JShell (Nashorn was originally on OCP beta) • Process API • GC changes • etc @jeanneboyarsky
  12. 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. 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
  14. 14. Exercise: Picking important points
  15. 15. Exercise: Making questions

Editor's Notes

  • https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Symbol_thumbs_up.svg/200px-Symbol_thumbs_up.svg.png
  • https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Symbol_thumbs_down.svg/185px-Symbol_thumbs_down.svg.png
  • ×