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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!