|
A good answer might be:
123 Bob 100 456 Jill 900 123 Bob 100 | |
Review of "=="The "==" (equal-equal) operator is an alias detector. It checks if two reference variables refer to the same object. It does not actually look at the objects. The following program segment illustrates this:
It will print out An alias has been detected!. | |
QUESTION 21:Say that the following lines are added to the program (immediately following the lines already there):
What will be printed? Click Here after you have answered the question |