Writing unit tests for the solution using Junit
Does our code really work? Now comes the cringe!

Search for a command to run...
Articles tagged with #java
Does our code really work? Now comes the cringe!

Let's refactor our code first before writing any tests.

Let's write code for task one.

Introduction In the previous chapter, I extracted all the information I could find from the problem statement. In this chapter, I will design a solution in terms of object-oriented principles. First, I will pinpoint all the relevant conceptual classe...

Introduction In the previous chapter, I introduced you to my goals, the project, and the tools I will use during my Java learning adventure. In this chapter, I'll extract and try to understand the user requirements in the problem statement. In additi...

Introduction During my final year of university, I was introduced to Java for the first time. It was ...okay, but I loved C and C++ and later Go. So I passed the Java Object-Oriented programming course and never looked back. After a couple of non-Jav...
