Java Solid Sample