some code about javase