Multiple choice

Which of the following classes described in the java.net.URL takes a string of text and turns it into the x-www-form-url-encoded format?

  1. The URL class

  2. The URLEncoder class

  3. Javax.swing.text.html.parser

  4. The DatagramPacket class

  5. The StackFrame class

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

This class described in the java.net.URL takes a string of text and turns it into the x-www-form-urlencoded format.