What are reference variables?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What are reference variables?
Rating:
Variables holding the reference to an object are called reference variables. The initial value of a reference variable depends on its place of declaration. Class variables and instance variables are initialized with a special null value, whereas variables declared inside code blocks are not automatically initialized.
Rating:
Was this information helpful?
Other articles
- What is cohesion?
- What is the for loop?
- What is the use of the fillArc() method?
- What is the purpose of declaring a variable as final?
- What is the finalize() method?
