Java Programming Tutorials

Java programming tutorials with many code examples!

Palindrome detector in Java

Palindrome is a sequence of chars which reads the same backward and forward. Detecting palindrome is a common job interview task therefore we’ll show how to implement that.

Read More

Share with the World!

Shuffle Algorithm in Java

Shuffling of arrays/lists sounds like a trivial task, but in reality it’s full of subtle traps. Here we show how to implement Fisher-Yates Shuffle Algorithm in Java.

Read More

Share with the World!

MD5 hash in Java

To calculate MD5 hash in Java we can use pure Java approach or use libraries. In this post we’re going to show how to calculate Message Digest in different ways.

Read More

Share with the World!

MongoDB join collections

For long time MongoDB didn’t have any means to join collections, but since version 3.2 there is a way to do simple left outer join of two collections.

Read More

Share with the World!
Pages:1234567...32