Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about "getHeaderValue()"

 
Malika Ben Aziz
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello folks
I am preparing for SCWCD using the book SCWCD EXAM STUDY KIT 2nd edition (SCE 310-081).

On the chapter about Servlets, there is a response for a question that did not convince me.




the explanation seems correct, but the answer is not.

I didn't find any thing about headers on the ServletRequest interface.
To me correct answer would be just "e"

Can you confirm please?

 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi malika

Yes you are right , the answer will be c and e

When you are in doubt then refer the specs and take them as the last say.

regards
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!