Cashamgenee Cashamgenee
  • 18-02-2017
  • Computers and Technology
contestada

Assume int[][] x = {{1, 2}, {3, 4}, {5, 6}}. what are x.length and x[0].length?

Respuesta :

pheoeobe
pheoeobe pheoeobe
  • 18-02-2017
X.length is 3 because x holds 3 int[] and x[0].length is 2 because {1,2} has two elements
Answer Link

Otras preguntas

Peter jogged 96 yards in 40 seconds? What is his speed in feet per second?
Peter jogged 96 yards in 40 seconds? What is his speed in feet per second?
2 m3 of soil containing 35% sand was mixed into 6 m3 of soil containing 15% sand. what is the sand content of the mixture?
Name four behaviors that animals must use to survive
2 m3 of soil containing 35% sand was mixed into 6 m3 of soil containing 15% sand. what is the sand content of the mixture?
what is E=m² the famous theory of albert einstien?
write a program in pascal to solve a quadratic equation
Caitlyn did 6/7 of the problems on her math correctly and 4 incorrectly. She did all the problems. How many were there?
Ned weighs 1.5 times as much as Jill and Tom weighs 15 kilograms more than Jill. If their combined weight is 190 kilograms, how much does each person weigh?
write a program in pascal to solve a quadratic equation