1.

Differentiate Between Instance And Shared Variables In Pb?

Answer»
  • Instance variables are created when the object is created and destroyed when the object is destroyed while a shared variable is created when the FIRST instance of the object is created and is destroyed when the application is closed.
  • The VALUE of an instance variable in each instance is independent of its value in other INSTANCES while changing the value of a shared variable in ONE instance will affect other instances.



Discussion

No Comment Found