1.

Which of these methods of httpd class is used to read data from the stream?(a) getDta()(b) GetResponse()(c) getStream()(d) getRawRequest()The question was asked during a job interview.The origin of the question is Networking topic in division Serialization & Networking of Java

Answer» RIGHT option is (d) getRawRequest()

Best explanation: The getRawRequest() method reads data froma STREAM until it gets TWO CONSECUTIVE newline CHARACTERS.


Discussion

No Comment Found

Related InterviewSolutions