Question 1
When creating a server on a port that is already in use, ________.
◦ java.net.BindException occurs
◦ the server is created with no problems
◦ the server encounters a fatal error and must be terminated
◦ the server is blocked until the port is available
Question 2
When creating a client on a server port that is already in use, ________.
◦ the client is blocked until the port is available
◦ the client can connect to the server regardless of whether the port is in use
◦ java.net.BindException occurs
◦ the client encounters a fatal error and must be terminated