• +91 9723535972
  • info@interviewmaterial.com

Servlet Interview Questions and Answers

Question -
What is difference between PrintWriter and ServletOutputStream?



Answer -

PrintWriter is a character-stream class where as ServletOutputStream is a byte-stream class. The PrintWriter class can be used to write only character-based information whereas ServletOutputStream class can be used to write primitive values as well as character-based information.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners