String concatenation with Java 8

String concatenation is one of the most well known caveat in Java. Almost all experienced Java developpers have already heard or read explanations about when…

Similar

Java’s Unspeakable Types

It obviously cannot be any type that we ordinarily encounter. A variable of type String cannot hold a value of type Object — the Liskov substitution properties simply do not work that way round. The… (more…)

Read more »

Java Two-Dimensional Array

The arrays we used so far were uniform series arrays, where all the array elements stay in a simple list, like in a column. This is the structure of one-dimensional array, where all elements fit in one list (life is very simple). But sometimes, you may ne... (more…)

Read more »

Nth Fibonacci Number Using Java Recursion

There are certain problems that just make sense to solve using Java Recursion. Demonstrating Fibonacci Series is one of them. Let’s take a look at something called Fibonacci series. Here are the first few numbers of this series:0, 1, 1, 2, 3, 5, 8, 13, 21... (more…)

Read more »