Search Header Logo

Advanced Java

Authored by 107_Tejaswini Kolambkar_JH

Professional Development

Professional Development

Used 19+ times

Advanced Java
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?