Tag: programming languages
Questions Related to programming languages
-
The HttpServletRequestWrapper is an example of the Decorator pattern.
-
The HttpServletRequestWrapper can be used to extend the functionality of a servlet request.
-
A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method.
-
An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter interface.
-
An HttpServletRequestWrapper CANNOT be used on the request passed to the RequestDispatcher.include
-
An HttpServletRequestWrapper may modify the header of a request within an object implementing the
-
Create new session if the session does not already exist
-
Returns null if session does not already exist
-
Returns false
-
Destroy the session
-
HttpSession
-
ServletConfig
-
ServletContext
-
HttpServletRequest
-
HttpServletResponse
-
No difference, both are the same
-
An Object maynot have a class definition, but an instance must have a class definition
-
An Object must have a class definition, but an instance may not have a class definition
-
Object and Instance should have different class definitions. It can not be the same.
-
Interfaces of the same package and other packages
-
Classes of the same package
-
Classes of the same package and other packages
-
Interfaces of the same package