

MCQOPTIONS
Saved Bookmarks
1. |
Select the code snippet which prints the element with maximum frequency. |
A. | public int findPopular(int[] a) { if (a == null || a.length == |
B. | public int findPopular(int[] a) { if (a == null || a.length == |
C. | public int findPopular(int[] a) { if (a == null || a.length == |
D. | None of the mentioned |
Answer» B. public int findPopular(int[] a) { if (a == null || a.length == | |