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

Can we place the any object to key attribute of HashMap<key,value>?

4 Answers   HCL,


What are the types of collections in java?

0 Answers  


What is a byte string?

0 Answers  


StringBuilder s = new StringBuilder("Hello Mom");s.append(",I mean,Mother"); Response.Write(s.ToString()); String s = "Hello Mom"; s+ = ",I mean Mom"; Response.Write(s); Which is faster ? which uses the most memory?

6 Answers   HCL,


Does Java support multiple Inheritance?

12 Answers  


What environment variables are required to be set on a machine in order to run Java programs?

0 Answers   Tech Mahindra,


What is memory leak and how does java handle it?

0 Answers  


Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Explain with your own example..?

8 Answers   Nokia,


What is difference between calling start() and run() method of thread?

0 Answers  


How to call one constructor from the other constructor ?

0 Answers  


What is mysql driver class name?

0 Answers  


Is it safe to install java on my computer?

0 Answers  


Categories