Multiple choice

Which of the following classes in the java.net package is used to read a stream of data that is generated by a network connection and produce an object?

  1. The InetAddress class

  2. The ContentHandler class

  3. The URLStreamHandler class

  4. The RemoteStackVariable class

  5. ThreadDeathEvent()

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

This class in the java.net package is used to read a stream of data that is generated by a network connection and produce an object.