sample codes about reading <think in java>