Java View all facts Glossary Help |
syntactic unit > keyword > this |
this comparison table |
Subject | have purpose | is an instance of | represent | is a kind of | is a subtopic of | have example | has definition |
---|---|---|---|---|---|---|---|
keyword | syntactic unit | A word that has special meaning in Java | |||||
this | to refer to the current object or is used instead of the class name as the constructor name | keyword | the current object | Methods | //Example of a constructor that calls another constructor in the same class using the keyword this | A keyword that refers to the current object or is used instead of the class name as the constructor name |
Next keyword: throw Up: keyword Previous keyword: synchronized