Ersatz – A Mock HTTP Server for Java / Groovy

Ersatz (noun) An artificial substance or article used to replace something natural or genuine; a substitute. Read more


Java.util.Random Class

Java.util package provides a Random class. An instance of this class is used to generate a stream of pseudorandom numbers. The class uses a 48-bit seed, which is modified using a linear congruential formula. The algorithms implemented by class Random use ... (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 »