Return by reference was used for the overloaded [ ] operator function of the Array class because:

A. it is possible that an invalid index of the Array might be accessed
B. the function call for this function might appear on the left of an assignment
C. the function was inlined
D. conditional compilation was used

B

Computer Science & Information Technology

You might also like to view...

A subclass inherits the methods and instance variables of all of its superclasses.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What is Samba used for?

What will be an ideal response?

Computer Science & Information Technology