instance variables
[ˈɪnstəns ˈvɛriəbəlz]
nounpl: instance variables
variáveis de instância
1. In object-oriented programming, variables that belong to a specific object (instance) of a class and hold data unique to that object. Each instance of a class has its own copy of instance variables.
In the Car class, color and speed are instance variables that differ for each car object created.
Na classe Carro, cor e velocidade são variáveis de instância que diferem para cada objeto carro criado.
2. Variables declared within a class but outside of any method, accessible to all methods of that class and persisting for the lifetime of the object.
Instance variables are initialized when an object is created and destroyed when the object is garbage collected.
As variáveis de instância são inicializadas quando um objeto é criado e destruídas quando o objeto é coletado pelo garbage collector.
This is technical terminology specific to object-oriented programming. It is used uniformly across English and Portuguese-speaking software development communities and appears consistently in programming documentation, university curricula, and professional development materials in both Brazil and Portugal.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →