Small samples of Java Functionality