Science Clinic => Computer Science => Topic started by: CBme on May 6, 2020
Title: Assume int[][] x = {{1, 2}, {3, 4, 5}, {5, 6, 5, 9}}, what are x[0].length, x[1].length, and x[2].length?
Post by: CBme on May 6, 2020
Question 1
Assume int[][] x = {{1, 2}, {3, 4}, {5, 6}}, what are x.length are x[0].length? ◦ 3 and 3 ◦ 2 and 1 ◦ 3 and 2 ◦ 2 and 2 ◦ 2 and 3
Question 2
Assume int[][] x = {{1, 2}, {3, 4, 5}, {5, 6, 5, 9}}, what are x[0].length, x[1].length, and x[2].length? ◦ 2, 3, and 3 ◦ 3, 3, and 4 ◦ 3, 3, and 3 ◦ 2, 3, and 4 ◦ 2, 2, and 2
Title: Assume int[][] x = {{1, 2}, {3, 4, 5}, {5, 6, 5, 9}}, what are x[0].length, x[1].length, and x[2].length?
Post by: ryrychapman11 on May 6, 2020