Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java SE8 OCPJP interface list  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Sheriff
Posts: 11338
177
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Anupam Banerji
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Roel De Nijs
Sheriff
Posts: 11338
177
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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...
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!