Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: To be able to send and receive
Q4: A JEditorPane generates HyperlinkEvents only if it
Q5: Which statement is false?<br>A) With datagram sockets
Q6: Output _ are typically used to increase
Q7: The port number at which the server
Q8: Which statement is false?<br>A) Streams-based transmission is
Q9: If an ObjectInputStream is used to read
Q11: _ sockets and the _ protocol are
Q12: A(n) _ is thrown when a server
Q13: Once the ServerSocket is created, the server