What is the 'this' keyword in Java?
The 'this' keyword is a pointer to the attributes and methods of the current object.
The 'this' keyword is a p...
What is the 'this' keyword in Java?
The 'this' keyword is a pointer to the attributes and methods of the current object. The 'this' keyword is a pointer to the attributes and methods of the parent class. The 'this' keyword is a pointer to the attributes and methods of the child class. The 'this' keyword is a pointer to the attributes and methods of the superclass.
O 'this' é uma palavra-chave em Java que se refere ao objeto atual em que o código está sendo executado. Ele é usado para acessar os atributos e métodos da classe atual. Portanto, a alternativa correta é: "O 'this' é um ponteiro para os atributos e métodos do objeto atual".
0
0
Faça como milhares de estudantes: teste grátis o Passei Direto
Compartilhar