'Values of the primitive types do not share state' what does this mean??? Sorry if it is a too stupid question!!! but, I'm not very good with english!!! here in my country isn't easy to find good forums!!!
The idea is simple, and you may likely understand it already. An example that further illustrates the concept: If a variable i of type int is declared and given it an initial value 0, and another int variable j is declared and assigned the value of i, then both variables would have the value 0. If i is later assigned a different value such as 1, the value of j is not affected - j would still be 0.Making sense?