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...
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...
The Completable Future feature is powerful to run asynchronous methods for better performance. In Java 5 there is the Future interface, however, the Future interface doesn’t have many methods that would help us to create robust code. To solve...
Polymorphism is one of the most important Java concepts. We might be not even aware we use it all the time but when we instantiate an ArrayList and assign it to a variable of the List type, we are using polymorphism. It’s a powerful concept...
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...
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...