Java Server And Servlet - Study Mode

[#46] What happens if ServerSocket is not able to listen on the specified port?
Correct Answer

(C) IOException is thrown when opening the socket

[#47] Can servlet class declare constructor with ServletConfig object as an argument?
Correct Answer

(B) False

[#48] Which of the below are common network protocols?
Correct Answer

(C) TCP and UDP

[#49] What type of protocol is HTTP?
Correct Answer

(A) stateless

[#50] How to deep dive into the execution of a method from a method call?
Correct Answer

(B) F5