java sample syntax