1.

What is the output of this program? import java.net.*; class networking { public static void main(String[] args) throws MalformedURLException { URL obj = new URL("https://www.compscibits.com/mcq-questions/Java-Programming"); System.out.print(obj.getHost()); } }

A. mcqsmentor
B. mcqsmentor.com
C. Www.mcqsmentor.com
D. Https://www.mcqsmentor.com/mcq-questions/Java-Programming
Answer» E.


Discussion

No Comment Found