What is the difference between instance(per object ) and static (shared by all objects) in report while declaring global variable?

Showing Answers 1 - 2 of 2 Answers

randeep singh

  • Nov 21st, 2007
 

In case of instance per object every instance have its own memory space but in case of static variable every instance access same memory space for that variable.

nikhil

  • Oct 12th, 2011
 

When Instance is created memory space is allocated and its unique for that instance. but for static object ONLY one copy is created for that so that one memory location for all.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions