1.

Which of these method of MimeHeader is used to return the string equivalent of the values stores on MimeHeader?(a) string()(b) toString()(c) convertString()(d) getString()The question was asked in an interview.My question is taken from Networking in portion Serialization & Networking of Java

Answer»

Right option is (b) toString()

To elaborate: toString() does the REVERSE of parse() method, it is used to RETURN the string EQUIVALENT of the VALUES stores on MIMEHEADER.



Discussion

No Comment Found

Related InterviewSolutions