0
What is a reference variable?
3 Answers
+ 2
Generally, it's a variable that references an object. Say you have a dog class. You create the object with Dog poodle = new Dog();
poodle is the reference variable that refers to the Dog object
- 1
fcuk
- 2
Smae variable can be declare twice with two different names