Q. Can servlet class declare constructor with ServletConfig object as an argument?
β
Correct Answer: (A)
False
Explanation: ServletConfig object is created after the constructor is called and before init() is called. So, servlet init parameters cannot be accessed in the constructor.