By what default value is an object reference declared as an
instance variable?

Answer Posted / pranab dutta

Its default value is ?null? unless we define it explicitly.

Is This Answer Correct ?    34 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how to reverse string in java?

588


Can we return null in java?

647


What is a parameter in java?

550


How to Sort Strings which are given in List and display in ascending order without using java api.

3782


What does 3 dots mean in java?

524






Can we have multiple classes in a single file?

518


How do you generate random numbers in java?

520


Explain oops concepts in detail?

582


What are constants and how to create constants in java?

560


Difference between arraylist and vector.

594


What is quick sort in java?

561


What is meant by vector class, dictionary class, hash table class, and property class?

687


Can an integer be a string?

515


What will happen to the exception object after exception handling?

582


Can we have any code between try and finally blocks?

566