some codes for java_study