Si è quello che sto provando ad utilizzare ma mi restituisce null!
Il codice è questo:

SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");
da[0]=sdf.parse(data[0]); //da[0] Date e data[0] String
System.out.println(da[0]); //stampa null

dove sto sbagliando?