MCQOPTIONS
Saved Bookmarks
| 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/"); System.out.print(obj.getProtocol()); } } |
| A. | Http |
| B. | Https |
| C. | Www |
| D. | Com |
| Answer» B. Https | |