1.

Which of these transfer protocol must be used so that URL can be accessed by URLConnection class object?(a) http(b) https(c) Any Protocol can be used(d) None of the mentionedThis question was posed to me in semester exam.My question is from HttpResponse & URLConnection Class in division Serialization & Networking of Java

Answer»

Correct OPTION is (a) http

The EXPLANATION is: For a URL to be ACCESSED from remote location http protocol must be USED.



Discussion

No Comment Found

Related InterviewSolutions