What will be the initial value of an object reference which is defined as an instance variable?

Category: JavaWhat will be the initial value of an object reference which is defined as an instance variable?
Editor">Editor Staff asked 2 years ago

What will be the initial value of an object reference which is defined as an instance variable?

1 Answers
Editor">Editor Staff answered 2 years ago

All object references are initialized to null in Java.