Java 12, which has been released in March, focuses on developments related to the internal operations of the JDK. Few additional features will have a real impact on Java developers on a daily basis. Nevertheless, there is one that will have a real impact. It concerns switch expressions that are extended with Java 12. This […]
Category: Tutorials
Tutorials for Developers
Recreating the Twenty Questions Game in Java
Originated in the United States and played widely in the 19th century, Twenty Questions is a spoken parlor game which encourages deductive reasoning and creativity. In that tutorial, you are going to learn how to recreate the Twenty Questions Game in Java. You can also discover this tutorial in video on YouTube: Rules In the […]
Introduction to Test Driven Development (TDD)
The Test Driven Development (TDD) is a software engineering practice that requires unit tests to be written before the code they are supposed to validate. Coming from the Agile world in which it is a basic practice of the Extreme programming (XP) method, TDD is nowadays recognized as a discipline in its own right that […]
Everything you need to know about Tree Traversal Algorithms: Theory and Practice in Java
In computer science, a Tree is a widely used abstract data type (ADT), or data structure implementing this ADT, that simulates a hierarchical tree structure, with a root value and subtrees of children with a parent node, represented as a set of linked nodes. A tree data structure can be defined recursively as a collection […]