Làm thế nào để chuyển đổi Date object sang String?Chọn một:1/19Làm thế nào để chuyển đổi Date object sang String? Chọn một:SimpleDateFormat sdf= new SimpleDateFormat("yyyy- mm-dd"); sdf.parse(new Date());SimpleDateFormat sdf= new SimpleDateFormat("yyyy- mm-dd"); sdf.format(new Date());SimpleDateFormat df= new SimpleDateFormat("yyyy- mm-dd");new Date().parse();SimpleDateFormat sdf = new SimpleDateFormat("yyyy- mm-dd"); new Date().format();Giải thíchChọn đáp án B