code about java