Which of the following methods can be used to receive a file sent by a browser?
Why the answer "getInputStream() of HttpServletRequest" is wrong?
We can get access to this method, because HttpServletRequest extends ServletRequest.
If HttpServletRequest extends ServletRequest and ServletRequest has getInputStream(), then HttpServletRequest has getInputStream().
Am I wrong?
About Question enthuware.jwpv6.2.811 :
Moderator: admin
-
- Posts: 4
- Joined: Thu Nov 27, 2014 8:48 am
- Contact:
-
- Site Admin
- Posts: 10064
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.811 :
You are right but in a question like this where a method and its exact class/interface name is given, you should select the one in which that method is declared.
If you like our products and services, please help us by posting your review here.
-
- Posts: 4
- Joined: Thu Nov 27, 2014 8:48 am
- Contact:
Re: About Question enthuware.jwpv6.2.811 :
Such kind of questions are confusing, but I'll be ready for them. Thank you
Who is online
Users browsing this forum: No registered users and 49 guests