Question: 31. A wrapper dass encapsulates, or wraps, the primitive types within an object. OFalse 32. Which two are limitations of an array of primitives (ie:


31. A wrapper dass encapsulates, or wraps, the primitive types within an object. OFalse 32. Which two are limitations of an array of primitives (ie: intx)? (Choose all correct answers) The size of the array is fixed during array creation and cannot grow once initialized. You cannot overwrite the contents of an array once initialized. You need to create your own methods to manipulate array contents. You can create only one array in a dass. 33. What is the output? int[] arr new int(1) arr[0] = 10: System.out.printin(arr[O]) 10 34. The Java compiler does not check for an ArrayIndexOutofBoundsException during the compilation of a program containing arrays. OFalse 35. Which two are valid array (Choose all correct answers) []int size; int size[]; int array size; | | int[] size
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
