Question: how to convert yyyy-mm-dd to dd-mmm-yy in java?
Answer: * toconvertStringtoDate is method convert the string to date format. * Returning 'dd-MMM-yyyy'format. * the string date.