Tag: javachallenges

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...

binary search java

Binary Search Java Challenge

To search for elements in your sorted array, you can use the binary search algorithm. Of course, you can get it for free in the Java language! Therefore, the point of this Java Challenge is to learn how to use the binarySearch method. Can you solve...

Method Interceptor Java Challenge

Method Interceptor Java Challenge

This Java Challenge will teach you how to intercept a method with Java. When you need to intercept a specific method for some reason, you can use the same technique of this Java Challenge! It’s useful this knowledge on your toolbelt! You can...

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...

equals hashCode

Simpson equals hashCode Challenge

It’s crucial to know how the equals and hashCode methods work because in Java we use them all the time. When working with frameworks, using Collections, or even when comparing objects equality. Therefore, if you are able to solve this Java...