posted 5 years ago
Wasn't expecting to get this high a score so I'm chuffed! Here is a brain dump of all I can remember from the exam:
• Streams/Lambdas: understand the various overloaded reduce methods, flatMap(), findAny/First(), all/any/noneMatch(), primitive streams, collectors, parallel streams, identifying valid usages of Functional Interfaces defined in java.util.function, Optional, Method References, difference between intermediate & terminal operations, valid lambdas
• Concurrency: concurrent collections, Callable, Future, CyclicBarrier(about 3 questions), ForkJoinPool (understand how to implement the compute() method for both RecursiveTask & RecursiveAction and the different between the two)
• Try-With-Resources: Suppressed Exceptions, understanding that Closeable extends AutoCloseable
• Multi-Catch Exceptions: question on identifying that caught exception is final
• Date/Time: DST calculation, Instant, LocalDateTIme, ZonedDateTime, ZoneId, Formatting
• Localisation: Resource Bundles, understanding the concepts of localisation
• Switch with strings: valid usages
• NIO.2: valid WatchKey states, Path methods, Files.walk, Files.find, File Attributes
• Misc: Understanding that Iterable interface provides a default forEach implementation, Map.compute(), Generics diamond operator
I started studying about 6 months ago. Here is the approach I used:
• Try do some study and coding every day if even for a few minutes
• Read 2 books, probably 3 times over and revised the chapter summaries countless times:
o Boyarsky & Selikoff
o Ganesh, Kiran & Sharma
• Enthuware exam simulation software: really filled in any gaps on the finer details and was absolutely essential
• A great exam tip from one of the books which helped me was to first identify if any of the answers are “will not compile” or ”throws exception at runtime”. When neither were present it changed the way I analysed the code to a more relaxed manner
Hope the above help and good luck!
Keith