|
What does a variable of a primitive type contain? A good answer might be:A variable of a primitive type contains the actual data, not information on where the data is. | |||||||
Two Kinds of Variables
Here is the example program again:
When the line
is executed (when the program is running), the information stored in str is used to go to the object and get the data to be printed. | |||||||
QUESTION 6:Does using str in the above statement change the information in it? Click Here after you have answered the question |