You need to create a JSP that generates some JavaScript code to populate an array of strings used on theclient-side. Which JSP code snippet will create this array?()
A. MY_ARRAY = new Array();] = ’’;} %>
B. MY_ARRAY = new Array();.
C. MY_ARRAY = new Array();. . MY_ARRAY[] = ’’;.
D. MY_ARRAY = new Array(); . MY_ARRAY[${i}] = ’${serverArray[i]}’;.