1.

What is the output of this program? import java.net.*; public class Networking_Protocol { public static void main(String[] args) throws MalformedURLException { URL object = new URL("https://www.interviewmania.com/programming"); System.out.print(object.getProtocol()); } }

A. com
B. www
C. http
D. https
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs