Difference between Instance and Context
-
Hi guys i sometime get confuse in this? What is the difference between Instance and Context. And how two different instances for the same application work. What are the responsibilities of the OS two maintain the two different instance. What is the responsibility of the Application developer. Thanks in advance. Anil Kumar
-
Hi guys i sometime get confuse in this? What is the difference between Instance and Context. And how two different instances for the same application work. What are the responsibilities of the OS two maintain the two different instance. What is the responsibility of the Application developer. Thanks in advance. Anil Kumar
an instance is a representation in memory of a particuliar type (class, struct, union, native type). when you write
int i1 = 4, i2 = 5;
, i1 and i2 are 2 instances of anint
. the context is all that can interract with the program and affect the behavior of it (variables values, thread states...)
TOXCCT >>> GEII power
[toxcct][VisualCalc]