Select the correct option to test your answer:
More Computer Questions
Functions whose names begin with "strn"
What will be the output of the following Java program? import java.net.*; class networking { public static void main(String[] args) throws Exception { URL obj = new URL("https://www.example.com/javamcq"); URLConnection obj1 = obj.openConnection(); System.out.print(obj1.getContentType()); } } Note: Host URL is written in html and simple text.
In Java, which method can be used to perform autounboxing?
The filesize() function returns the file size in ___________
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"); Field fields[] = c.getFields(); for (int i = 0; i < fields.length; i++) System.out.println(fields[i]); } catch (Exception e) { System.out.print("Exception"); } } }