6 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 109
Correct 26
Incorrect 19
Viewed 64

Answers

Guest
Guest
atish lohade
atish lohade - 2 months ago

atish lohade from Aurangabad, India is saying http://www.eduzip.com/javamcq is correct answer

Bharath
Bharath - 2 months ago

Bharath from Hyderabad, India is saying eduzip is correct answer

shubham adne
shubham adne - 4 months ago

shubham adne from Pune, India is saying http://www.eduzip.com/javamcq is correct answer

Vaibhav Bisht
Vaibhav Bisht - 8 months ago

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

Zo Go
Zo Go - 8 months ago

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

Related Questions

Which of these is an instance variable of class httpd?

  • [A] port
  • [B] cache
  • [C] log
  • [D] All of the mentioned

Which of these methods is used to make raw MIME formatted string?

  • [A] parse()
  • [B] toString()
  • [C] getString()
  • [D] parseString()