🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: References and Functions: all 10 questions

Quiz: References and Functions · Question 2 of 10

Which is true about references?

Which is true about references?

  1. A.They can be null
  2. B.They can be re-pointed to another variable
  3. C.They must be initialised when declared
  4. D.They need * to read the value
Answer & explanation

Correct answer: They must be initialised when declared

A reference is permanently bound to one variable at creation.

Can you get the rest right without peeking?

Take the timed Quiz: References and Functions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →