answersLogoWhite

0

Declaration of the object involves only creating the reference variable to the object. Example: class SampleClass{ } Object Declaration: SampleClass obj1; Object Creation: Creating an object involves use of new keyword and actually allocating memory for that object. SampleClass obj2 = new SampleClass ();

User Avatar

Wiki User

17y ago

What else can I help you with?

Trending Questions
Is technology a blessing to mankind? What is the role of technology in resource development? What are used to make electrical connection with the rotating coil in a simple alternating current generator? How was the steamboat helpful? Help I flushed my toliet and it overflowed then backed up in the shower and bathtub. I've used the plunger and Drano. What do I do now? What do you call someone who specializes in something? What time required to insert element in stack with linked implementation? Is phase 2 going to be famous? Is string is a primitive type or not? What mechanical properties of 722M24 En 40B 3 percent Cr-Mo? What is the best programming language to learn while job hunting - consider you already know C and Java you only have time to learn ONE which ONE would you learn? What is the difference between user documentation and system documentation? Which resource would be most useful in helping to solve some of their immediate needs? In brave new word what does the word pneumatic mean? What is the difference between linear search and binary search? Which is the best modulation technique in terms of message carrying efficiency? What were some methods abolitionist used to sway public opinion? A resistor of 25ohm is connected in series with capacitor of 45microfarad calculate impedance and current taken from 240volts 50Hz supply please tell how to solve or formulas please? When did alexander graham bell invent the machine that could clean wheat? What is a retinal tag?