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.mcqsmentor.com/mcq-questions/Java-Programming"); System.out.print(obj.toExternalForm()); } }

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


Discussion

No Comment Found