✅ 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 base = Path.of("/usuarios/ana");
Path resultado = base.resolve("documentos/datos.txt");
System.out.println(resultado);