| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Questions And Answers for PowerBuilder Interviews
QuestionHow a 'Shared Variable' is different from a 'Instance Variable'? Click here to see the answer
AnswerWell, the value of an instance variable in each instance is independent of other instances. Instance variables are created when the object is created and will be destroyed when the object is destroyed. On the other hand, the shared variable is shared between different instances of the variable. That means, changing the shared variable in one instance will affect other instances. The shared variable is created when the FIRST instance of the object is created and is destroyed when the application is closed. You can't refer to an object's shared variable when none of the instance is open, even though the shared variables exists in the memory. Click here to go to top of the page.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |