![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/03/2011, 22:43
|
| | Fecha de Ingreso: agosto-2006
Mensajes: 113
Antigüedad: 18 años, 5 meses Puntos: 1 | |
que tiene malo este codigo? Hola estoy haciendo un tutorial de java y escribi este codigo en netbeans tal cual me sale en el tuto, ero en netbeans me marca un error me dice:
cannot find symbol ....
Gracias
import java.awt*;
public class Punto3D extends Point {
public int z;
public Punto3D(int x, int y, int z) {
super(x, y);
this.z = z;
}
public void move(int x, int y, int z) {
this.z = z;
super.move(x, y);
}
public void translate(int x, int y, int z) {
this.z += z;
super.translate(x, y);
}
} |