In Java no variable can ever hold an object. A variable can only hold a reference to an object.
variable is a reference or pointer to that object
The goto resource for studying materials
In Java no variable can ever hold an object. A variable can only hold a reference to an object.
variable is a reference or pointer to that object