What is the default value of an object reference declared as an instance variable?
Answer / Siddh Nath
The default value of an object reference is null. If no explicit constructor is called, an object will not be created and the reference will remain null.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of optional ?
What happens when a thrown exception is not handled?
What is the difference between access specifiers and access modifiers in java? 16
What is the basically use of finally while we know it is always executed but why?
What is java jit compilers?
Is java same as core java?
How to read and write image from a file ?
What is difference between path and classpath?
What is System class and its purpose?
Why string objects are immutable in java?
Does unicode support all languages?
What is a class variable?