Add a sample Java class