Home / MCQ Bank / Computer
Computer Collections Framework In Java Difficulty: Medium

What will be the output of the following Java code? import java.lang.reflect.*; class Additional_packages { public static void main(String args[]) { try { Class c = Class.forName("java.awt.Dimension"); Constructor constructors[] = c.getConstructors(); for (int i = 0; i < constructors.length; i++) System.out.println(constructors[i]); } catch (Exception e) { System.out.print("Exception"); } } }

Select the correct option to test your answer:

More Computer Questions

Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box? The program that performs logical backups is . . . . . . . . Which of the the following graphic device information is odd man out in the below figure? . . . . . . . . extract a subset of rows from a dataframe based on logical conditions. Which of the following is system software?