posted 14 years ago
consider a class dog!
i want to ask that.... wat is the difference between declaring as
dog d;
and declaring as
new dog();
which one reference to object and which is reference... i am whole lot confused about the reference meaning and object meaning...is new dog() the object or dog d an object...