What Will Be The Initial Value Of An Object Reference Which Is Defined As An Instance Variable
The object references are all initialized to null in Java. However in order to do anything useful with these references, you must set them to a valid object, else you will get NullPointerExceptions everywhere you try to use such default initialized references.
2009-2016 downloadmela.com. All rights reserved.