Variables and Data Types – Multiple Choice Questions (MCQs)
-
-
50. What happens if you try to access an element at an invalid index in an array in Java?
-
51. What is a multi-dimensional array in Java?
-
52. How do you declare a 2D integer array with 3 rows and 4 columns in Java?