1.

What is the functionality of the following piece of code? public void fun(int x) { q1.offer(x); }

A. Perform push() with push as the costlier operation
B. Perform push() with pop as the costlier operation
C. Perform pop() with push as the costlier operation
D. Perform pop() with pop as the costlier operation
Answer» C. Perform pop() with push as the costlier operation


Discussion

No Comment Found