User Tools

Site Tools


appunti3s:puntatore_this
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


appunti3s:puntatore_this [2020/06/08 22:19] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +Puntatore //this//
  
 +Ogni volta che si invoca un metodo (sopra un oggetto) viene creato automaticamente un puntatore a quell'oggetto su cui è stato invocato il metodo. 
 +All'interno del metodo è quindi possibile sapere da quale oggetto è stato invocato, usando il puntatore //this//
appunti3s/puntatore_this.txt · Last modified: 2020/06/08 22:19 by 127.0.0.1