some java Samples