0 votes
in JAVA by

Which class is used to represent a connection to a URL in Java?

a) HttpURLConnection

b) URLConnection

c) HttpClient

d) HttpsURLConnection

1 Answer

0 votes
by

Answer: b) URLConnection

Explanation: The URLConnection class is used to represent a connection to a URL in Java.

...