5 years ago in Java Socket Programming

What is the output of this program?

import java.net.*;
class networking {
public static void main(String[] args) throws MalformedURLException {
URL obj = new URL("http://www.eduzip.com/javamcq");
System.out.print(obj.toExternalForm());
}
}

[A] eduzip
[B] eduzip.com
[C] www.eduzip.com
[D] http://www.eduzip.com/javamcq
Loading...
Next Question

Overall Stats

Attempted 101
Correct 24
Incorrect 18
Viewed 59

Answers

Guest
Guest
Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying http://www.eduzip.com/javamcq is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying http://www.eduzip.com/javamcq is correct answer

Yash Asawa
Yash Asawa - 7 months ago

Yash Asawa from India is saying http://www.eduzip.com/javamcq is correct answer

pavithra p
pavithra p - 8 months ago

pavithra p from Bengaluru, India is saying http://www.eduzip.com/javamcq is correct answer

MOHAMMAD
MOHAMMAD - 9 months ago

MOHAMMAD from Peshawar, Pakistan is saying http://www.eduzip.com/javamcq is correct answer

Related Questions

Which of these package contains classes and interfaces for networking?

  • [A] java.io
  • [B] java.util
  • [C] java.net
  • [D] java.network