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.

Computer Science & Information Technology

You might also like to view...

To copy multiple files at a time, press and hold down the ________ key

A) C B) Tab C) Shift D) Ctrl

Computer Science & Information Technology

Which test would not permit a user to input a date such as October 32?

What will be an ideal response?

Computer Science & Information Technology