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 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 both correct
Correct Answer:

Verified
Correct Answer:
Verified
Q21: In addition to providing a mechanism to
Q22: These two ways to set up a
Q23: Rewrite the following five assignment statements into
Q24: The advantage(s) of the Random class's pseudorandom
Q25: Problem Ch 03-1<br>Assume an interactive Java program
Q27: In Java a variable may contain<br>A) a
Q28: Assume you write a program that uses
Q29: The following statement will display the value
Q30: All the methods in the Math class
Q31: Which of the following packages includes classes