Home / MCQ Bank / Computer
Computer Overriding And Overloading Difficulty: Medium

What will be the output of the following Java program? class Alligator { public static void main(String[] args) { int []x[] = {{1,2}, {3,4,5}, {6,7,8,9}}; int [][]y = x; System.out.println(y[2][1]); } }

Select the correct option to test your answer:

More Computer Questions

What is Math.floor(3.6)? The source filename and line number come from the preprocessor macros . . . . . . . . and . . . . . . . . The numbers that are prefixed with '0x' are in base . . . . . . . . Mysql support different character sets, which command is used to display all character sets? What will be the output of the following Python code snippet? print('ab cd-ef'.title())