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 the ClassCastException?
- What is the Comparable interface?
- What is the Locale class?
- What is polymorphism?
- What is runtime polymorphism or dynamic method dispatch?