Question: Consider the following code int number() = new int[5]; After execution of the above statement, which of the following statements are true? 1. number[0] is

Consider the following code int number() = new int[5]; After execution of the above statement, which of the following statements are true? 1. number[0] is undefined II. number[5] is undefined number[4] is null IV. number(2) is 0 V. number.length is 5 V II, IV II, IV, V
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
