✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Dado el siguiente código en Java, marcar la afirmación o afirmaciones correctas (las respuestas incorrectas tienen penalización):
public class Punto3DArray {
private double[] coords; // coordenadas x, y, z
public Punto3DArray (double[] coords) {
this.coords = coords;
}
public String toString () {
return "(" + coords[0] + ", " + coords[1] + ", " + coords[2] + ")";
}
}