Buscar

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.

Essa pergunta também está no material:

02-Desenvolvimento de Software
15 pág.

Desenvolvimento Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

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
Dislike0

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais