return this
Publicado por Roberto (9 intervenciones) el 26/11/2006 19:07:16
hola estuve viendo unas instrucciones en internet y me encontre con esto:
this.maxCol=colMax;
this.maxFil=filaMax;
this.matriz=new Object[filaMax][colMax];
return this;
el return this significa que solo retorna las instrucciones que tienen this
osea que si maxCol no tuviera el this, solo retorna maxFila y matriz?
this.maxCol=colMax;
this.maxFil=filaMax;
this.matriz=new Object[filaMax][colMax];
return this;
el return this significa que solo retorna las instrucciones que tienen this
osea que si maxCol no tuviera el this, solo retorna maxFila y matriz?
Valora esta pregunta


0