Which of the following methods can be used to retrieve all the attributes names from ServletContext?

  1. getAttributeNames()

  2. getAllAttributes()

  3. It is not possible to retrieve all the attributes in one call.

  4. getAttributes()


Correct Option: A

Find more quizzes: