Java   View all facts   Glossary   Help
syntactic unit > keyword > this
Next keywordthrow    Upkeyword    Previous keywordsynchronized   

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
thisto refer to the current object or is used instead of the class name as the constructor namekeywordthe current object Methods
//Example of a constructor that calls another constructor in the same class using the keyword this
public Movie(int s, int a, int d, int m)}
this(s, a, d);
...
}
A keyword that refers to the current object or is used instead of the class name as the constructor name

Next keywordthrow    Upkeyword    Previous keywordsynchronized