In which of the following statements is the value of myVals null ?
A) int myVals = ""
B) int [] myVals;
C) myVals = int[null]
D) int[null] = myVals
Correct Answer:
Verified
Q19: You can declare an array variable by
Q20: When using parallel arrays, if one array
Q21: If a class has only a default
Q22: When you declare int[] someNums = new
Q23: When any primitive type is passed to
Q25: Which of the following statements correctly declares
Q26: A(n) _ is a variable that holds a
Q27: When you declare or access an array,
Q28: The length _ contains the number of
Q29: When you perform a _, you compare
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents