25.02.2013 Views

prueba

no2

no2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Implementando la clase Punto (I)<br />

Estado<br />

acceso al<br />

argumento<br />

implícito<br />

IMPLEMENTACIÓN CLASE Punto<br />

ATRIBUTOS<br />

R x,y;<br />

MÉTODOS<br />

cambiar_x(E R nx)<br />

INICIO<br />

x = nx; // x == éste.x<br />

FIN<br />

cambiar_y(E R ny)<br />

INICIO<br />

y = ny; // y == éste.y<br />

FIN<br />

Departamento de Lenguajes y<br />

Ciencias de la Computación Programación Orientada a Objetos 15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!