Multiple choice

The pupose of which of the following classes in the java.net.URL package is to create a format for opening a stream connection to a specific URL?

  1. The URL class

  2. The DatagramSocket class

  3. ThreadDeathEvent()

  4. The StackFrame class

  5. The URLStreamHandler class

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Its purpose is to create format for opening a stream connection to a specific URL.