
Advanced Java
Authored by 107_Tejaswini Kolambkar_JH
Professional Development
Professional Development
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cookies were originally designed for
Client side programming
Server side programming
Both a and b
None of above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When doGet() method of servlet gets called?
A GET request results from a normal request for a URL.
The service() method checks the HTTP request type as GET and calls doGet() method.
Both of above
None of these
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What type of servlets use these methods doGet(), doPost(),doHead, doDelete(), doTrace()?
Genereic Servlets
HttpServlets
All of the above
None of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which method is used to send the same request and response objects to another servlet in RequestDispacher ?
forward()
sendRedirect()
Both A & B
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the lifecycle of a servlet?
Servlet class is loaded
Servlet instance is created
init,Service,destroy method is invoked
All mentioned above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many techniques are used in Session Tracking?
4
3
2
5
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In HTTP Request method Get request is secured because data is exposed in URL bar
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?