Multiple choice

By using which of the following classes instead of relying on native code, your java programs can communicate over the network in a platform-independence manner?

  1. Java.net.Socket class

  2. The InetAddress class

  3. The URLStreamHandler class

  4. The RemoteStackVariable class

  5. Filter

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

By using the java.net.socket class instead of relying on native code, your java program can communicate over the network in a platform-independence manner.