Live quiz

java - Part 72

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Java code? import java.net.*; class networking { public static void main(String[] args) throws MalformedURLException { URL obj = new URL("https://www.example.com/javamcq"); System.out.print(obj.getProtocol()); } }

  • A
  • B
  • C
  • D