Java Serialization And Networking - Study Mode

[#26] Which of these class is necessary to implement datagrams?
Correct Answer

(C) All of the mentioned

[#27] Which of these is a method of ObjectOutput interface used to finalize the output state so that any buffers are cleared?
Correct Answer

(B) flush()

[#28] Which of these methods is used to know the type of content used in the URL?
Correct Answer

(C) getContentType()

[#29] Which of these interface abstractes the output of messages from httpd?
Correct Answer

(A) LogMessage

[#30] Which of these methods is used to know the full URL of an URL object?
Correct Answer

(D) toExternalForm()