Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Jav ainterviewquest i

ons:
--
--
---
----
---
--
--
---
--
--
---
1)what /explainaretheoop' sconcepts?
2)featuresofj ava?
2)howy oui mplement edoop'sconceptsiny ourproj
ecti
nautomati
on?
3)differ
encebet weenobj ectandconstructor
?
4)howt ofindsecondl argestelementinanar ray
?
5)howt ofindduplicateelement si
nanar rayandcountthedupl
icat
es?
6)Strings1=" j
ava";
s1.concat("
program" );
sop(s1) ;//st r
ingimmut ableormut able

7)howt of i
nddupl i
cat est ri
ngsi nanst ri
ngar ray?
8)howt of i
ndswap2st rings?subst ring
9)howt of i
ndst ri
ngr everse?
10)howt opr i
nt1t o10number swi t
houtusi nganyl oops?(usi
ngr ecursivefuncti
on)
11)howt or epl
acespeci al char acters andbl ankspacesi nagivenst r
ing?
12)howt osor tanel ement sinanar ray?
13)howt of i
ndsum off irstdi gitandl astdigiti nanumber ?
14)di
fferencebet weenabst ractcl assandi nt erface?
15)whati sfunctionov erloadi ngandf unctionov eriddi
ngwi t
hexampl e?
15.1)whati spoly mor phism andhowmanyt ypesofpolymorphi sm arethere?
16)whati sthedi f
ferencebet weenst aticblockandnonst ati
c/i
nstancebl ock?
17)di
fferencebet weenf i
nal ,finall
y ,fi
nalize?
18)di
fferencebet weent hrowandt hrows?
19)howt ohandl eex cept i
onhandl ing?t ry,
cat ch, f
inall
y,t
hrowandt hrows
20)whati sapackage?
21)whati scollecti
onandt hedi fferencebet weencol l
ect
ionandcol lecti
onframework?
22)di
fferencebet weenl istandset ?
23)di
fferencebet weenar ray l
istandl inkedlist?
24)di
fferencebet weenmapandhashmap?
25)di
fferencebet weenhashsetandl inkedhashset ?
26)di
fferencebet weenar rayandcol lections?
27)di
fferencesbet weenwhi leanddo- whi l
e?

You might also like