prueba
no2
no2
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Objetos<br />
Clase<br />
Un ejemplo: la clase Punto<br />
R x,y;<br />
(Punto)<br />
x= 2<br />
y= 3<br />
Punto<br />
trasladar(a,b)<br />
distancia(pto)<br />
Atributos = Estado Propio<br />
Métodos = Comportamiento Común<br />
(Punto)<br />
x= 5<br />
y= 7<br />
(Punto)<br />
x= -1<br />
y= 4<br />
Departamento de Lenguajes y<br />
Ciencias de la Computación Programación Orientada a Objetos 12