java basic elements based on jdk6.0+