Java Articles, Tutorials & News

State of Gradle Java 9 Support

This post provides an overview of Gradle’s Java 9 support, touching on runtime, cross-compilation, MRJARs, and Jigsaw modules support. We’ve fielded lots of questions since Java 9 was released last month, and decided it best to answer here.

Read more »

Opinionated Database Access in Java

Every now and then I get my hands on a Java project that requires to talk to a database. Depending on who of my team mates I’m talking to, database experts or Java developers, there exist different views on how to model and access data. In my early days a…

Read more »

Java Array

We know that variables are used to store data in a Java program. We also know that each variable can store not more than one data item. So, what do we do if we need to store a large number of data items, say 50. Well, we can use 50 variables, one for each…

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…

Read more »