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



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

Answer / pranab dutta

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

Is This Answer Correct ?    35 Yes 2 No

Post New Answer

More Core Java Interview Questions

There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.

3 Answers  


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

2 Answers   EDS,


what is the difference between a threads start() and run() methods? : Java thread

1 Answers  


How can you handle java exceptions?

1 Answers  


What's the base class in java from which all classes are derived?

1 Answers  


where can we get jAVA project orientation traing in HYDERABD

0 Answers  


What is indexof in java?

1 Answers  


What does the “static” keyword mean?

1 Answers  


What is exception hierarchy in java?

1 Answers  


Differentiate between == and equals().

1 Answers  


java is pure object-oriented programming language?why it is platform independent.

1 Answers  


What is difference between overloading and overriding in java?

1 Answers  


Categories