Specifying a port that is already in use or specifying an invalid port number when creating a DatagramSocket results in a __________.
a. SocketException.
b. PortInUseException.
c. PortException.
d. ConnectException.
a. SocketException.
You might also like to view...
Gary is preparing a lecture for his students on Internet technology. Gary tells his students that the ____ protocol transfers email messages from client computers to an email server.
A. SMTP B. HTTP C. POP D. FTP
The _____ saves your work and then turns down the power to your monitor and computer.
A. ?sleep mode B. ?active mode C. ?restore mode D. ?access mode
To name a range, select the range and then click the Define Name button in the Defined Names group.
Answer the following statement true (T) or false (F)
What is the postcondition of the following recursive algorithm?Algorithm recursiveAlgorithm (n) if (n equals 0) return 1 else return (n * recursiveAlgorithm (n - 1)) end ifend recursiveAlgorithm
A. n is returned B. n^2 is returned C. n! is returned D. sum(1..n) is returned