Playing with different features in Java