Multiple Choice
Consider the following code snippet:
String[] data = { "123", "ghi", "jkl", "def", "%&*" };
Which statement sorts the data array in ascending order?
A) data = Arrays.sort() ;
B) Arrays.sort(data) ;
C) data = Arrays.sort(data.length) ;
D) data = Arrays.sort(data) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q16: Which statements are true regarding the differences
Q17: How many elements can be stored in
Q18: It may be necessary to "grow" an
Q19: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q20: Regression testing is:<br>A)the process of stepping code
Q22: Assume the following variable has been declared
Q23: Which statement is true about the code
Q24: What will be printed by the statements
Q25: What is the output of the following
Q26: Which one of the following statements is