📚 Practice Mode

Java Programming Fundamentals

Learn at your own pace with hints and detailed explanations

1 / 31
Multiple Choice

What is the role of ServletConfig interface in java servlet?

  1. This interface is used to read data from a client request.
  2. This interface is used to write data from a client request.
  3. This interface is used to declare the life cycle method of the servlet.
  4. This interface is used to provide access information and the log events to the servlet in its environment.
  5. This interface is used to initialize the parameters to the servlet.