Tag: javachallengers

date period

Spider Man Date Period Java Challenge

In the real world, we work with Date Period very often. In any kind of system, it’s inevitable that we will need to deal with Dates. Therefore, let’s explore how to do that with Java in a fun Java Challenge! You can also watch the full...

Optional takeWhile dropWhile

Optional takeWhile dropWhile Challenge

The Optional concept is present in many other programming languages. The main goal of the Optional class is to avoid NullPointerException. It’s much easier to deal with null values when we use the concepts of an Optional. In this challenge, we...

streams set

Streams Set Distinct Java Challenge

Using streams, and Set Collection Factory methods with Java make code easier to read and maintain. By using those features we can also make it more difficult for bugs to hide. If you can use the latest LTS (Long-term support) Java version in your...

exception chaos

Exception Chaos Java Challenge

To go deeper and know how to use Exceptions in a real project, you can read the following article: 11 Mistakes Java Developers Make when Using Exceptions If you have any questions about this Java Challenge, don’t hesitate to leave a question...