You may have learned in CS170 that the following variable definition clause:
ClassName varName;
Examples:
BankAccount Mary;
String h;
|
defines a reference variable
What exactly does such variable contain ??
Example:
Another reference example:
The value stored in the program counter (PC) is a reference (= memory address):
The value stored in the program counter (PC) is a reference (= memory address):
So the PC points to the next instruction code in memory !!!