Say you have a constructor which initializes a field.
private int world;
public Hello(){
world = 5;
}
Now, take this variant:
private int world;
public Hello(){
this.world = 7;
}
Is there a difference with the latter? The only reason I would know to use "this" in a constructor, or any method, is to specify a field is a field and not a parameter argument by indicating it to be a call from "this" current object. Would it matter if I used it without the aforementioned case?