0% found this document useful (0 votes)
33 views21 pages

AJP Q Bank

Uploaded by

Baban Mali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views21 pages

AJP Q Bank

Uploaded by

Baban Mali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

AJPCHAPTER1QUESTI

ONS:
1
.Whi
cha
rev
ari
ousAWTc
ont
rol
s?
An
s:La
bel
s,Pu
shb
utt
ons
,Che
ckb
oxe
s,Cho
icel
is
ts.

2.Wha
tisal
abe
l.
An
s:Al
abe
lisas
imp
lec
ont
rolwhi
chi
sus
edt
odi
spl
ayt
exto
nthewi
ndo
w.

3.Al
lCo
mpo
nen
tonCo
nta
ine
rca
nber
emo
vedb
yca
lli
ngwhi
chme
tho
d.
An
s:r
emo
veAl
l(
)

4
.Ap
ple
tVi
ewe
rto
oli
sav
ail
abl
einwhi
cho
fthefo
lde
rofJDK
An
s:b
in

5.Byd
efa
ultwhi
chl
ayo
utma
nage
riss
eto
nAp
ple
t.
An
s:Fl
owLa
you
t

6.Co
mpo
nen
tsa
rea
dde
dtowhi
chp
aneo
fswi
ngJAp
ple
t.
An
s:Co
nte
ntPa
ne

7
.Wha
tisFu
llfo
rmo
fAWT.
An
s:Ab
str
actWi
ndo
wTo
olki
t.

8.whi
chme
tho
disu
sedt
ose
tthev
isi
bi
li
tyo
fthefr
ame
?
An
s:s
etVi
si
ble
(tr
ue)

9.whi
chp
acka
gewen
eedt
oimp
ortwhi
lewr
iti
ngs
win
gJRa
dio
But
tonc
las
s.
An
s:i
mpo
rtj
ava
x.s
win
g.*
;

1
0.Whi
chAWTc
omp
one
nti
sno
ted
ita
ble
?
An
s:La
bel

1
1.Whi
chAWTc
ont
roli
sus
edfo
rmu
lti
-l
in
ete
xte
ntr
y?

1|Page
An
s:Te
xtAr
ea

1
2.Whi
chc
las
sca
nbeu
sedt
ore
pre
sen
tac
hec
kbo
xwi
that
ext
uall
abe
ltha
tca
n
a
ppe
ari
namen
u.
An
s:Che
ckb
oxMe
nuI
te
m

1
3.Whi
chc
omp
one
ntc
ann
otb
ead
dedt
oac
ont
ain
er?
An
s:JFr
ame

1
4.Di
ffe
ren
ceb
etwe
enChe
ckBo
xan
dRa
dio
But
ton
?
An
s:

Ra
diob
utt
on Che
ckb
ox

I
tisusedwhe
non
lyoneo
pti
ont
obe Che
ckboxal
lo
wso
neo
rma
nyo
pti
onst
o
s
elec
tedouto
fse
ver
alava
il
abl
eop
tio
ns bes
ele
cted

I
tisas
ingl
eco
ntr
olu
nit
. I
tisamu
lti
pl
eco
ntr
olu
nit
.

Radi
obut
toni
spre
sen
teda
sas
mal
l Chec
kbo
xispre
sen
teda
sas
mal
lsq
uar
e
ci
rcl
eonthes
cre
en. boxo
nthesc
ree
n.

Ra
diob
utt
onha
veo
nly2s
tat
esn
ame
ly- Che
ckb
oxhav
e3s t
ate
sname
ly-
Tr
ue&Fals
e Che
cke
d,un
chec
ked&ind
ete
rmin
ate
.

I
tisus
edwhenyouwa
ntt
olimi
tthe I
tisuse
dwhenyouwantt
oal
lo
wus
ert
o
u
sersc
hoi
cetoju
ston
eop
tio
nfromthe s
elec
tmult
ipl
echoi
ces
r
angepro
vid
ed.

1
5.Li
feCy
cleo
fap
ple
t.
Ans
:Ap pl
etli
fecycl
edefine
da showtheobjec
tcreat
ed,s
tart
ed,sto
ppedand
de
str
oyedduri
ngtheent
ireexecut
ionoftheappl
ic
ati
oniss
aidt
oa p
pletli
fecycl
e.
Appl
etli
fecycl
ehas5me thod
si n
it(
),st
art(
),sto
p()
,aini
t(
)anddes
troy(
).Thes
e
met
hodsarei
nvoke
db yt
heb rowsertoex
e c
ute
.Ap pl
etwor
ksontheclie
ntsid
eso,l
ess
pr
oces
si
ngt i
me.

2|Page
1
6.Di
ffe
ren
ceBe
twe
enl
is
tan
dcho
ice
.
Ans:ACho i
ceisdi
spl
ayedinacompac
tformtha
trequi
resyo
ut op
ulli
tdowntosee
theli
stofavai
labl
echoi
ces
.On l
yoneit
emmaybesele
cte
dfr o
maCho i
ce.AListmay
bedis
play
edinsuchawaythatseve
ralLi
sti
te
msa r
evisi
ble
.ALi s
tsupp
ortst
he
sel
ect
ionofoneormoreLis
tite
ms.

1
7.wha
tisat
extAr
eai
nja
va?
Ans:ATex
tAre
aobj
ecti
samu
lti
-l
in
ere
gio
ntha
tdi
spl
ayst
ext
.Itc
anb
ese
ttoa
llo
w
ed
iti
ngo
rtober
ead
-onl
y.

1
8.Wha
tisafr
ame
?
Ans
:Afr ame,i
mpl
eme
nte
dasa ni
nst
anceo
ftheJFrameclass
,isawi n
dowthathas
de
cora
tio
nssu
chasabo
rde
r,at i
tl
e,andsu
ppor
tsbu
ttoncompone
ntsthatcl
oseor
i
coni
fythewi
ndo
w.Appl
ic
ati
onswit
haGUIu s
ual
lyi
nclud
ea tl
easton
efr a
me.

1
9.Wha
tisac
ardLa
you
tinj
ava
?
Ans:ACardLayo
utobj
ecti
sal
ayo
utma
nage
rforaco
ntai
ner
.Itt
rea
tse
ach
co
mp o
nen
tinthec
ont
ain
erasac
ard
.Onl
yoneca
rdi
svis
ibl
eatati
me.

20. Wha
tisaGr
idl
ayo
uti
nja
va?
Ans:TheGr i
dLayo
utcl
assi
salayou
tmanagertha
tlaysou
tacon
tai
ner
'sc
ompo
nen
ts
i
nar ec
tangul
argrid
.Theco
ntai
nerisd
ivi
dedin
toequ
al-s
ize
dre
ctan
gle
s,ando
ne
co
mp o
nentispl
ace
dinea
chrect
angl
e.

3|Page
AJPCHAPTER2QUESTI
ONS:
1
.Whi
che
ven
tsi
sge
ner
ate
dwhe
nthewi
ndo
wisc
los
ed?
An
s:Wi
ndo
wEv
ent

2.Wha
tisa
nEv
ent
?
An
s:Cha
ngei
nthes
tat
eofa
nob
jec
tiskn
owna
sEv
ent
.

3.Na
met
hee
ven
ttha
tge
tsge
ner
ate
dwhe
nab
utt
oni
scl
ic
ked
.
An
s:Ac
ti
onEv
ent

4
.Wha
tise
ven
tha
ndl
in
g?
Ans
:EventHan
dlin
gistheme
cha
nis
mtha
tco
ntr
olst
hee
ven
tan
dde
cid
eswha
tsho
uld
ha
ppeni
fa ne
ventocc
urs

5.Wha
tisal
is
ten
eri
nco
nte
xtt
oev
entha
ndl
in
g?
An
s:Al
is
ten
eri
sano
bje
ctt
hatn
oti
fi
edwhe
nev
entha
doc
cur
red
.

6.Whi
che
ven
twi
llb
ege
ner
ate
difwec
los
eaFr
ame
'swi
ndo
w?
An
s:Wi
ndo
wEv
ent

7
.Wha
tisSo
urc
einc
ont
exto
fEv
entHa
ndl
in
g?
Ans
:Theso
urc
eisa
nobje
ctonwhi
cheven
toccu
rs.So
urc
eisr
esp
ons
ibl
efo
rpr
ovi
di
ng
i
nfor
mat
io
noftheo
ccu
rrede
ventt
oit
'shand
ler
.

8.Doa
llCo
mpo
nen
tsge
ner
ateMo
useEv
ent
?
An
s:y
es

9.Wi
ndo
wEv
enti
sas
ubc
las
sofwhi
che
ven
t?
An
s:Co
mpo
nen
tEv
ent

1
0.Wha
tise
xce
pti
oni
nja
va?
Ans
:Anexce
pti
oni
sanev
ent
,whicho
ccu
rsdur
ingtheex
ecu
tio
nofap
rogr
am,t
hat
di
sru
ptst
heno
rmalfl
owofthep
rogr
am'
sin
str
ucti
ons
.

4|Page
1
1.Whi
chMe
tho
dIsu
sedt
ore
gis
teramo
useMo
ti
onLi
st
ene
r?

An
s:a
ddMo
use
Mot
io
nLi
st
ene
r()

1
2.Whi
chme
tho
dus
edfo
rre
tur
nfo
rmo
usec
o-o
rdi
nat
e?

An
s:ge
tX(
),ge
tY(
)

1
3.Whi
cho
fthefo
ll
owi
ngLi
st
ene
rsha
vet
hei
rAd
apt
erc
las
s?

An
s:Wi
ndo
wLi
st
ene
r

1
4.Whic
hofthe
semetho
dsc
anb
eus
edt
oob
tai
nthec
omma
ndn
amefo
rin
voki
ng
Ac
ti
onEv
ento
bje
ct?

An
s:ge
tAc
ti
onCo
mma
nd(
)

1
5.Whi
cho
fthe
see
ven
tsa
rege
ner
ate
dwhe
nco
mpu
terga
inso
rlo
sesi
npu
tfo
cus
?

An
s:Fo
cus
Eve
nt

1
6.whi
cho
fthe
see
ven
tswi
llb
eno
ti
fi
edi
fsc
rol
lba
risma
nip
ula
ted
?

An
s:Ad
jus
tme
ntEv
ent
()

1
7.Whi
chofthe
seco
nst
antval
ueswil
lcha
ngewhe
ntheb
utt
ona
tthee
ndo
fsc
rol
l
b
arwasc
li
ckedt
oinc
reas
eit
sv a
lue
?

An
s:UNI
T_I
NCREMENT

1
8.Whi
choft
hes
eme
tho
dsc
anb
eus
edt
okn
owt
hed
egr
eeo
fad
jus
tme
ntma
deb
y
t
heu
ser
?

An
s:ge
tVa
lue
()

1
9.Whi
cho
fthe
sei
ssu
perc
las
sofWi
ndo
wEv
entc
las
s?

An
s:Co
mpo
nen
tEv
ent

20. Whi
cho
fthe
sei
ssu
per
cla
sso
fal
lAd
apt
erc
las
ses
?

An
s:Ap
ple
t

5|Page
AJPCHAPTER3QUESTI
ONS:
1
.Whi
cho
fthe
sep
acka
gesc
ont
ain
scl
ass
esa
ndi
nte
rfa
cesfo
rne
two
rki
ng?

An
s)j
ava
.ne
t

2.As
eto
fru
lest
hatgo
ver
nsd
atac
ommu
nic
ati
on.

An
s)p
rot
oco
l

3.Ho
wma
nyb
itsa
rei
nas
ingl
eIPv
4ad
dre
ss?

An
s)32

4
.IPSt
and
sfo
r________.

An
s)I
nte
rne
tPr
oto
col

5.TCPSt
and
sfo
r________.
An
s)Tr
ans
mis
si
onCo
ntr
olPr
oto
col

6|Page
6.Theo
penCo
nne
cti
on(
)ist
heme
tho
dofwhi
chCl
ass
?

An
s)URLCo
nne
cti
on

7
.The______________c
las
sisu
sedt
ocr
eat
eTCPs
erv
er.

An
s)Se
rve
rSo
cke
t

8.UDPPa
cke
tsa
rekn
owna
s___________________

An
s)Da
tagr
am

9.Whi
cho
fthe
seme
tho
dofDa
tagr
amPa
cke
tisu
sedt
ofi
ndt
hep
ort
n
umb
er?

An
s)ge
tPo
rt(
)

1
0.______i
sne
two
rki
ngp
rot
oco
lfo
rhy
per
med
ia,c
oll
abo
rat
iv
e&
d
ist
rib
ute
din
for
mat
io
nsy
ste
m.

7|Page
An
s)HTTP

1
1.c
las
sisu
sedfo
rac
ces
si
ngt
hea
ttr
ibu
teo
far
emo
te
r
eso
urc
e.

An
s)URLCo
nne
cti
onCl
ass

1
2.ge
tBy
name
()me
tho
dre
tur
ns

An
s)ho
stn
ame

1
3.ge
tLo
cal
Hos
t()me
tho
disp
res
enti
nwhi
chp
acka
ge

An
s)j
ava
.ne
t

8|Page
1
4.I
npu
tSt
rea
mcl
assi
sus
edi
nTCPCl
ie
nt-
ser
verp
rogr
amt
o

An
s)Se
nd/r
ece
iveme
ssa
gefr
omc
li
entt
ose
rve
r

1
5.TCPd
oesn
ots
upp
ortMu
lti
cas
ti
nga
ndBr
oad
cas
ti
ngb
eca
use
:

An
s)I
tisc
onn
ect
io
n-o
rie
nte
dpr
oto
col
.

1
6.The-
---
---
---
---
-me
tho
dint
heI
net
Add
res
scl
assr
etu
rnst
heI
P
a
ddr
ess
.

An
s)ge
tHo
stAd
dre
ss(
)

1
7.URLCo
nne
cti
ono
bje
cti
sre
tri
eve
dus
ingfo
ll
owi
ngme
tho
d?

An
s)o
pen
Con
nec
ti
on(
)

1
8.Whi
chme
tho
dRe
tur
nst
heo
utp
uts
tre
amo
ftheURLc
onn
ect
io
n?

9|Page
An
s)ge
tOu
tpu
tSt
rea
m()

1
9.___________i
sab
und
leo
fin
for
mat
io
npa
sse
dbe
twe
enma
chi
nes

An
s)Da
tagr
am

20. ________________i
same
dia
toru
sedi
nbe
twe
enWe
bSe
rve
ran
d
Cl
ie
nt.

An
s)Pr
oxy

1
0|Page
AJPCHAPTER4QUESTI
ONS
1
.Ho wmanys
tep
sar
eus
edt
oco
nne
cta
nyj
avaa
ppl
ic
ati
onwi
tht
hed
ata
bas
eus
ing
JDBC?

An
s–5

2.JDBCSt
and
sfo
rwha
t?

An
s-Ja
vaDa
tab
aseCo
nne
cti
vi
ty

1
1|Page
3.get
Conn
ect
io
n()me
tho
dofDriv
erMana
gerr
etu
rns
__________________________

An
s-Co
nne
cti
onOb
jec
t

4
.Prepar
edstat
emen
tobj
ecti
nJDBCisu
sedt
o
e
xec
ute______________Que
rie
s

An
s-p
ara
met
eri
zed

5.SQLs
tan
dsfo
r
(
a)St
ruc
ture
dQue
ryLanguage
(
b)Se
que
nti
alQue
ryLanguage
(
c)St
ruc
ture
dQue
sti
onLanguage
(
d)Se
que
nti
alQue
sti
onLanguage
Ans–A

6.Whichoft hefol
lo
wingi
sus
edt
oro
ll
bac
kaJDBCt
ran
sac
ti
on?
a
)ro
llba
ck()
b
)ro
llfor
wa rd(
)
c
)de
lete
Tr a
n s
act
io
n()
d
)RemoveTrans
act
ion
()
An
s–A

7
.Pa
rame
ter
ize
dqu
eri
esc
anb
eex
ecu
tedb
y?

a
. Pa
rame
ter
ize
dSt
ate
men
t

1
2|Page
b
.Pr
epa
red
Sta
teme
nt
c
.Ca
lla
ble
Sta
teme
nta
ndPa
rame
ter
ize
dSt
ate
men
t
d
.Al
lki
ndso
fSt
ate
men
ts

An
s–B

8.Co
nne
cti
onobj
ectca
nb ei
ni
ti
ali
zedusi
ngt
he.
...
...
...
...
...
...
...
...
...
me
tho
doftheDr i
verMana
gercl
a s
s.
An
s-get
Conne
cti
on(
)

9.JDBCi
s…………………l
eve
lin
ter
fac
ewhi
chme
anst
hati
tisu
sedt
oin
vokeSQL
co
mman
ddir
ectl
y
An
s–LowLev
el

1
0.The__________me
tho
dse
tst
heq
uer
ypa
rame
ter
soft
hePr
epa
red
Sta
teme
nt
Obje
ct.
An
s–sets
tri
ng()

1
1.Whati
sthepur
pos
eofnex
t()me
thod
?
An
s-nex
t()metho
disus
edtor
etai
nnex
tele
men
tsi
nas
eri
es
.

1
2.WhatMySQLprop
ert
yisu
sedt
ocr
eat
eas
urr
oga
teke
yinMy
SQL?
An
s-AUTO_INCREMENT

1
3|Page
1
3.Whi
chd
riv
eri
sca
lle
dast
hin
-dr
ive
rinJDBC
An
s–Typ
e–4

1
4.________i
sano
pens
our
ceDBMSp
rod
uctt
hatr
unso
nUNI
X,Li
nuxa
nd
Windo
ws.
An
s–My SQL

1
5.isuse
dtoacc
essthedat
aba
seser
v e
ratti
meo
fex
ecu
tin
gthep
rogr
ama
ndge
t
t
hed a
tafro
mt heser
verac
cor
dingly?
An
s-Dy n
amicSQL

1
6.d
ata
bas
epr
ogr
ammi
ngu
sin
gJa
vat
hro
wswhi
che
xce
pti
on?

An
s–SQLEx
cep
tio
n

1
7.Ho
wlongi
sanI
Pv6a
ddr
ess
?
An
s-1
28bi
ts

1
8.De
scr
ibet
heme
tho
dSt
rin
gge
tFi
le
()

An
s-St
rin
gge
tFi
le
()-r
etu
rnst
hefi
len
ameo
fin
voki
ngURL

1
9.Di
ffe
ren
ceb
etwe
enTCPa
ndUDP

1
4|Page
An
s-

20.
Lis
tou
tpr
oto
col
s

An
s-

1
.I
nte
rne
tpr
oto
col

2.Tr
ans
mis
si
onc
ont
rolp
rot
oco
l

3.
use
rDa
tagr
amp
rot
oco
l

1
5|Page
AJPCHAPTER5QUESTI
ONS

1
) Wha
tiss
erv
let
?

 Se
rvl
etsar
esma
llp
rogr
amu
sedfo
rde
vel
opi
nga
nde
xec
uti
ngwe
b
ap
pli
cat
io
ns.

2) I
nwhi
chme
tho
doft
hes
erv
let
,co
nne
cti
oni
scr
eat
ed?

 i
ni
t(
)

3) Wha
tist
hefi
rstp
has
eoft
hes
erv
letl
ifec
ycl
e.

 I
ni
ti
al
iz
ati
on

)N
4 amet
hec
las
stha
tin
clu
dest
hege
tSe
ssi
on(
)me
tho
d

 Ht
tpSe
ssi
on

5) Wha
tdo
esac
ooki
eco
nta
ins
?

 St
atei
nfo
rma
tio
nofu
serl
iken
ame
,ad
dre
ss

6) Wha
tdo
esac
ooki
ecl
assc
ons
is
t.

 n
amea
ndv
alu
e

)C
7 o
oki
eist
hep
iec
eofi
nfo
rma
tio
nwhi
chs
tor
est
hes
ess
io
nre
lat
edd
atal
ike
.

1
6|Page
 u
ser
name
,pa
sswo
rd,t
ime
,da
te

8) Co
oki
esc
anb
ede
let
edb
yus
ingwhi
chme
tho
d.

 s
etMa
xAge
()

9) Dyn
ami
cin
ter
cep
tio
nofr
equ
est
san
dre
spo
nse
stot
ran
sfo
rmt
hei
nfo
rma
tio
nis
d
oneb
y

 Se
rvl
etfi
lt
er.

0)Wh
1 i
chme
tho
disn
otv
ali
dli
fec
ycl
eme
tho
dofJSP.

 j
spSt
op(
)

1
1) Ab
bre
via
tet
het
ermMI
ME?

 Mu
lti
pur
pos
ein
ter
netMa
ilEx
ten
sio
n

2)B
1 yd
efa
ult
,ho
wlo
ngd
oesac
ooki
ela
st?

 Byd
efa
ult
,an
ewl
ycr
eat
edc
ooki
epe
rsi
st
sun
tilt
heb
rows
ere
xit
s

3)C
1 GIs
tan
dsfo
r.

 Co
mmo
nGa
tewa
yIn
ter
fac
e

1
4)I
nwhi
chfi
led
owed
efi
neas
erv
letma
ppi
ng?

 we
b.x
ml

1
7|Page
5)Wh
1 a
tist
hema
jord
iffe
ren
ceb
etwe
ens
erv
leta
ndCGI
?

 Se
rvl
etsa
ret
hre
adb
ase
dan
dCGIi
spr
oce
ssb
ase
d

6)F
1 i
ndo
utc
orr
ects
ynt
axo
fse
rvi
ce(
)me
tho
dofs
erv
letc
las
s.

 v
oids
erv
ice
(Se
rvl
etRe
que
str
eq,Se
rvl
etRe
spo
nser
es)

1
7)Wha
tisa
dva
nta
geo
fSe
rvl
eto
verCGI
.

 Pe
rfo
rma
nceo
fse
rvl
etsi
ssi
gni
fi
can
tlyb
ett
er.

8)Wh
1 a
tisAp
acheTo
mca
t?

 We
bse
rve
rtha
tisc
apa
bleo
fru
nni
ngJa
vap
rogr
ams
.

9)Wh
1 i
chi
sas
mal
lpi
eceo
fIn
for
mat
io
ntha
tisp
ass
edb
ack&fo
rthi
nHTTP
r
equ
est&r
esp
ons
e

 Co
oki
e

20)Whi
cho
fthe
seme
tho
dsc
anb
eca
lle
dmu
lti
pl
eti
mesi
nse
rvl
et'
sli
fec
ycl
e?

 s
erv
ice
()

1
8|Page
AJPCHAPTER6QUESTI
ONS
1
.The
seme
tho
dsd
oGe
t()
,do
Pos
t(
),d
oHe
ad(
),d
oDe
let
e()
,do
Tra
ce(
)ar
e
u
sedi
n?
An
s.Ht
tpSe
rvl
et

2.I
nor
dert
oru
nJSP.
...
...
...
...
...
...
.isr
equ
ire
d.
An
s.Ja
vaWe
bSe
rve
r

3.I
nRe
que
stDi
spa
che
rwhi
chme
tho
disu
sedt
ose
ndst
hes
amer
equ
est
a
ndr
esp
ons
eob
jec
tst
oan
othe
rse
rvl
et?
An
s.fo
rwa
rd(
)

4
.Thel
ifec
ycl
eofas
erv
leti
sma
nage
dby
______________-
An
s.s
erv
letc
ont
ain
er

5.Ap
acheTo
mca
tisa________.
An
s.We
bse
rve
rtha
tisc
apa
bleo
fru
nni
ngJa
vap
rogr
ams
.

6.Ad
van
tageo
fSe
rvl
eto
verCGIi
s____________
An
s.Pe
rfo
rma
nceo
fse
rvl
etsi
ssi
gni
fi
can
tlyb
ett
er.

7
.TheJava__________spec
ifi
cat
io
ndef
ine
sanap
pli
cat
io
npr
ogrammi
ng
i
nte
rfac
eforc
ommuni
cat
io
nbetwee
ntheWebse
rve
randt
heappl
ic
ati
on
p
rogra
m.
An
s.Se
rvl
et

1
9|Page
8._________c
ont
ain
scl
ass
esa
ndi
nte
rfa
cesr
equ
ire
dtob
uil
dse
rvl
ets
An
s.j
ava
x.s
erv
let

9.________________me
tho
dex
ecu
tea
ten
dofs
erv
letl
ifec
ycl
e.
An
s.d
est
roy
()

1
0.______i
sasmal
lpi
eceo
fIn
for
mat
io
ntha
tisp
ass
edb
ack&fo
rthi
nHTTP
re
que
st&res
pon
se
An
s.Co
oki
e
1
1.___________i
satechno
logyfordev
elo
pin
gwebpage
sthatsu
ppor
tsdyn
ami
c
con
ten
twhic
hhelp
sdev
e l
ope
rt oi
nse
rtjav
acodei
nHTMLpagesbymaki
nguse
ofspe
cia
lta
g<%_________%> .
An
s.JSP

1
2.____________i
sus
edt
ore
add
atafr
omac
li
entr
equ
est
.
An
s.Se
rvl
etRe
que
st

1
3.Whi
cha
ttr
ibu
tei
sma
nda
tor
ywhi
lec
rea
tin
gco
oki
e.
An
s.Va
lue

1
4.Whi
chmetho
dofHt
tpSe
rvl
etRe
spo
nsei
sus
edt
ore
dir
ecta
nHTTPr
equ
estt
o
a
not
herURL?
An
s.s
end
Red
ire
ct(
)

1
5.Whi
chc
ooki
eiti
sva
li
dfo
rsi
ngl
ese
ssi
ono
nly
;iti
sre
mov
ede
acht
imewhe
n

20|Page
u
serc
los
est
heb
rows
er?
An
s.No
n-p
ers
is
ten
tco
oki
e

1
6.Whic
hmetho
disu
sedi
nthes
erv
letc
las
s,t
ore
tri
evet
hei
npu
tva
lue
sfr
om
HTMLpa
ge?
An
s.r
equ
est
.ge
tPa
rame
ter
()

1
7.Whe
ret
hes
erv
let
sru
n?
An
s.o
nse
rve
rsi
de

1
8.Thep
urp
oseo
fin
it(
)ins
erv
letl
ifec
ycl
eis
An
s.I
ni
ti
al
iz
ati
on

1
9.I
nJSPaCa nv
asobj
ectp
rov
ide
sac
ces
stoaGr
aphi
cso
bje
ctv
iao
neo
fit
sme
tho
d
c
all
ed____________
An
s.p
ain
t()

20. Byd
efa
ult
,ho
wlo
ngd
oesac
ooki
ela
st?
An
s.Byd
efa
ult
,an
ewl
ycr
eat
edc
ooki
epe
rsi
st
sun
tilt
heb
rows
er
e
xit
s.

21|Page

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy