Java Programming Tutorials

Java programming tutorials with many code examples!

Maven dependency to local JAR

Did you ever need to configure Maven dependency to local JAR? It’s rarely needed, but when it is, it’s good to know how to do that correctly.

Read More

Share with the World!

Caesar cipher in Java

One of the simplest cryptographic algorithms is Caesar cipher. It’s not really secure, but sometimes you may encounter it in some exercises or crackmes.

Read More

Share with the World!

Linked List – remove element

As many other algorithms in Linked Listremove element from given position runs in linear time. Here we are going to implement it to better understand how it works.

Read More

Share with the World!

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!
Pages:123