It may sound stupid question, but I must ask
In the code below the object reference d2 is cerated using null d1. so what this object is like? is it also null?
also with line Dog d1 = null, do we get an object on the heap?
Thanks in advance.
Joined: Oct 13, 2005
Have you tried it? Will that code actually compile?
Joined: Mar 30, 2007
you are using the non default Dog Constructor ..where is the implementaion of it ?