Multiple Choice
If two variables contain aliases of the same object then
A) the object may be modified using either alias
B) the object cannot be modified unless there's but a single reference to it
C) a third alias is created if/when the object is modified
D) the object will become an "orphan" if both variables are set to null
E) answers A and D are correct
Correct Answer:

Verified
Correct Answer:
Verified
Q6: An API is<br>A) an Abstract Programming Interface<br>B)
Q26: JOptionPane is a class that provides GUI<br>A)
Q27: For the program to get a name
Q28: System.out.println("123" + 4) will display the value
Q29: The advantage(s) of the Random class' pseudo-random
Q31: Which of the following will yield a
Q32: The Swing package<br>A) completely replaces the AWT<br>B)
Q34: Consider the following two lines of code.
Q35: Layout managers are associated with<br>A) objects<br>B) interfaces<br>C)
Q38: In Java, the symbol "=" and the