Playing with time in Java can be a tricky thing. Here’s what happens when you use the Calendar class to make a trip back in time and back again:
If you’ve worked with Java for a while, I’m sure you’ve heard about one of the things that Java does at compile time: type erasure. But you don’t have to trust everybody by their word, you can check it by yourself!
Java 7 puts on the table some new tools for concurrency and its family of Executors. Here’s my attempt of exemplifying their usage with a small bank robbers analogy.
It’s always good to revisit topics that you already touched before, the chance is that you will find out new things or remember forgotten ones.