Tag Predefined Methods in Java with Example