Tag: ocp

dragon warrior reference challenge

Dragon Warrior Reference Java Challenge

Did you know that every variable in Java is passed by value and not by reference? However, what happens when we pass an object to a method? Do we manipulate the value or the reference? This is exactly what you will explore in the following Java...

joker lambda challenge

Joker Lambda Challenge

Functional interfaces in Java are crucial to master. In this Java code challenge, we will explore the Supplier and Consumer functional interfaces. Do you know how a lambda behaves in Java? Try to solve this Java code challenge and make sure you know...

Lambda Composition Challenge Code

Jedi Dark Side Lambda Fight Challenge

Composing functions with lambda might come in handy when you need to execute multiple functions. In the following Java code challenge, we will explore the UnaryOperator, Function, and BiFunction functional interfaces working in a composed way. Can...

ATTACHMENT DETAILS godOfWar-Exception-Value-Greek-Gods-Challenge

Exception Value Greek Gods Challenge

When there is a tricky bug in a Java application, knowing how edge-case situations happen makes all the difference. That’s because bugs usually happen because of edge-case scenarios. In this challenge there is an edge-case coding situation, do...

thread local

Thread Local Java Challenge

The ThreadLocal class is useful to store and read data without colliding with other Threads even if the ThreadLocal instance is the same. Therefore, it’s a useful class to keep in mind whenever you need to manipulate data and avoid thread...