I should add that it is not necessary to use this to access the instance variables if it is not needed.
public class Shape {
private int length;
private int width;
private int...
Type: Posts; User: Junky
I should add that it is not necessary to use this to access the instance variables if it is not needed.
public class Shape {
private int length;
private int width;
private int...
Yes and no.
The keyword this is used to refer to the current object. That is, it provides a way for an object to refer to itself. Therefore it kinda makes sense that an object has to be created in...