The removeIf method from the Collection interface that was first introduced in Java 8 is powerful. We can use a lambda expression to removed items from one List. In the following Java Challenge, we will explore the removeIf method and will also see...
Do you know what are the differences between method references and lambdas? In this Java Challenge, we will explore how lambdas and method references behave so that you can really understand how they work! Now that you know the main context...
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...
Arrays are objects in Java. Variables in Java actually stores references to the object instead of the real object. When we pass an object reference to a method we are changing the object that is in the heap of the memory. Considering the explanation...
Knowing the main rules to negotiate your salary as a software developer will take you to the next level in your career. At the beginning of my career, I thought that only technical knowledge would help me as a software developer, however, I was...
There are some misunderstandings and confusion regarding keywords and reserved words in Java. I’ve seen many articles treating reserved words as keywords but actually, there is a difference. Java has many keywords, let’s list them here:...
To know what are the top technologies to learn as software developers is a crucial habit to develop. Otherwise, the technologies take the market by storm and the learning curve will take time. Therefore we should try our best to be aware of the...
Many companies are suffering from a lack of ownership problem in the projects they have. The ownership problem is ingrained usually in the culture and process in the company. When there is no ownership in projects, developers will probably take a...
During our day-to-day work, we need to very often solve code problems with new and unknown technologies. When landing a new job and technologies are all different, we have to adapt very quickly. There are some strategies we can use. We don’t...