✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Supuesto: Linux; separador /; imports incluidos. Cuando sea relevante, directorio de trabajo: /usuarios/ana.
¿Qué muestra este código?
Path ruta = Path.of("documentos/dam/../alumnos.txt");
System.out.println(ruta.normalize());
Escribe únicamente la ruta resultante, sin comillas.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!