You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-04-28 05:00:37
Binary Input Stream:
Question:
Given:
1. public void service(ServletRequest request,
2. ServletResponse response) {
3. ServletInputStream sis =
4. // insert code here
5. }
Which retrieves the binary input stream on line 4 ?
Option A):
request.getReader();
Option B):
request.getWriter();
Option C):
request.getResourceAsStream();
Option D):
request.getInputStream();
Correct Answer is Option D):
request.getInputStream();
Failure is the first step towards seccess.
Offline
2015-04-28 05:00:37
- Advertisement
- Ads By Google
Re: Binary Input Stream:
\n
Pages:: 1