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...
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...
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...
Annotations with Java are widely used with most of the popular frameworks. Put simply, annotations are a way to configure metadata for a class, attribute, or method. You will see annotations being used for dependency injection for example. Lombok...
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...
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...
The following top long-lasting Java books have a big impact on every software developer because they teach techniques that stand the time test; they are books that will provide you with long-lasting knowledge and benefits. Code techniques...