Question: refer to the array declaration below and explain the lines of code that follow: 1 . heights [ 0 ] = 1 6 5 ;

refer to the array declaration below and explain the lines of code that follow:
1. heights[0]=165;
2. heights[1]=190;
3. heights[19]=185;
4. System.out.println(heights[1]);

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 Programming Questions!