Hi guys,
Could you please give me some clue on this question telling why option C is NOT correct ?
Which statements about
<init-param> DD elements are true ?
a) CORRECT - They are used to declare initialization parameters for a specific
servlet.
b) INCORRECT - They are used to declare initialization parameters for an entire web app.
c) INCORRECT - The method that retrieves these parameters returns an Object ?
I know the method this option is referring to is
getInitParameter which takes and returns a
String. My question is : If this method returns a String, doesn't it return an
Object implicitly ?
d) CORRECT - The method that retrieves these parameters takes a String.