Forums Register Login

Java SE8 OCPJP interface list

+Pie Number of slices to send: Send
I was wondering if there's a list of key interfaces that should be learned (or known about) for the Java SE8 OCP exam.  For example, Runnable is one.  The others are the functional interfaces, e.g. BiFunction, Predicate, and so on.  Finally, there are functional interfaces for primitives, such as DoubleToIntFunction, and LongBinaryOperator.

Should I assume that everything in java.util.function is fair game?

https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html

+Pie Number of slices to send: Send
 

Anupam Banerji wrote:Should I assume that everything in java.util.function is fair game?


No! Although it might be for the part on streams, lambdas and predicates. But you have much more interfaces to study: e.g. Runnable, Collection, Set, List, Map, Runnable, Closeable, AutoCloseable, and so on.
+Pie Number of slices to send: Send
 

Roel De Nijs wrote:

Anupam Banerji wrote:Should I assume that everything in java.util.function is fair game?


No! Although it might be for the part on streams, lambdas and predicates. But you have much more interfaces to study: e.g. Runnable, Collection, Set, List, Map, Runnable, Closeable, AutoCloseable, and so on.



Thanks Roel.  In that case, has anyone ever created an comprehensive list of interfaces?  Learning the operations exposed by these goes a long way to understand their concrete implementations.
+Pie Number of slices to send: Send
 

Anupam Banerji wrote:In that case, has anyone ever created an comprehensive list of interfaces?  Learning the operations exposed by these goes a long way to understand their concrete implementations.


That's one of the reasons (maybe even the most important one) why certification exam study guides exist...
I don't like that guy. The tiny ad agrees with me.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 349 times.
Similar Threads
OCPJP 7 and OCPJP 8
Ocpjp 7-8 Faq
Errata Chapter 3 Generics & Collections, p 159, table 3(Java OCP 8 Programmer II Study Guide, Sybex)
Retrieving data with streams from DB (problem)
OCPJP Wall Of Fame
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:15:21.