Few Confirmed Few Unconfirmed
Few Confirmed Few Unconfirmed
OBECTIVE QUESTIONS
NCS
on
Steven has writren the following code but he is gettung a compilation eror
dlass AddicionQuz
pubik oid addont
onum2x vipul24-MAR-2022
.sharma0b vipul24-MAR-2022
.sharma0b
yem.ou8 num2
public void addint int
num2, numiX
System.out.prindniumnumzt
public void addfloat
System.outprindnnuEBm2k
public void
num1.
fegt num2X Vipul24-MAR-2022
.sharma06 Vipul.sharma06
adddouble.num1, foat num2X
System.qitprindnnum1 *num2 022
24-MA
sharma06
pul.sharma06, please pnowde your
response below
Vipulsharma06
There are two add methods which have the same number 4 M A R2 0 2 2
of
OAl the add methods have the same parameters and the parameters order and datatypes are
parameter names and thave same also same
number
OAddition of float wtth double is not possible without
of
parameters
OAl the gven options typecasting
You're being p
DeLLA
acaeae
Shot on OnePlus o
ipul.sharma0b
24-AR-2022
Vipul.sharmades
Questioo6
24-MAR2022
1 marksip
What is the output'of the code given below?
dass Tester (
vipul24-MAR-2022
.sharma06
public void sampleMethodint num)
System.out.printin(res numx /Line 1
O 10
OCompilation Error in Line 1
Runtime exception: NumberForrmatException for res
Reset Save
JNCS-
public
Student
staC vOwd mdHn
stdi
Snng a
new dentO
X
viputsharmaub
tion
System.outRONhsedNäme:"+std1.stdName". "*"stdBranch:"+std1.stdDthi stdid:"+std1.stm
VI MA
System.ouLprintir stdName
sharma0b Vipul74.MAR-2022
sharma06
*std2.stdNarme", *"stdBranch:"+sid2.stdBranch",
"stdid:"*std2.stdic
2
R2
Reset
public sharma06
Glove getGloveOOo
retum tthisj
vipul.sharma0s vIpul24-MAR-2022
.sharma0b
M A R
class Teste
public static vovd mainStningil arES)
Glove
bladKGIOve-new Gkove 8aCKT
Glove redGlove-new GlOv N
Minion bob niew MirisonbiackGiovel
blackGlove
setcolorfredgpyegec okortk
Systern.Outprintine Aner
vipul.sharma05 Vipui24-MAR-2022
.sharmaub
What should be placed at Unet to get the color of bob Mmon s gkove?
C T QuSTIONS
u a t dnglenf e
harma(
vipudshama06
O vipul sharma06
24MA 2za
Qit
stharma06
Oto vipulshusma06
P
vpui sharma06
A 02
pul.snarma0b weebies vipul24-MAR-2022
sharmaub 174
vipulshampa0b
24-MAR-222
OO5
Glow Suck
24-MA 74
Barbie
129
vipul24-MAR-2022
.sharmad6
Magna Doodle
T608
Query
ipul.sharmaub Vipul.snarmab
3
below
pul.shemado please proideyour respoIse
O2 4-MAR202
O
Reset
NCS
ction
pu.snarma06 24-AR
-2024
QuEs
vipul.snari
24-MAR-20 2 0 2 4
Vipul24-MAR-2022
.sharmao
marks]
inJava, the protected access specitfier cannot be applied to
VIpui24MAR-2022
.sharma06
dass
. methodd
24-MAR-2022
vipul24-MAR-2022
.sharma06
v. intertace
O only i, H and
ul sharma06
ii
O Onlyi and
Reset
U-NCS Vipul.sharmauo Vipul.s24-MAR:2022
harire Vipul24-MAR-2022
.sharma0k
R-2022
tion
marks 2 4 M A
A firewall is sed to inspec that are going in and out of the Conpany's network
MA
24-MA
OConnettions
O Data packets
Reser
Vpulsharma06
Hours Minutes Seconds
O8JECTIVE QUESTIONS
5T6 aclass
ble Tabe
N extends
5 Fumitugd
Furnitun ipul.24-MAR-2022
sharma0b viput.sharma0b
8System.out.enAangaile
9
O) VP MAR4
sa Furniture"¥ 2 4 - M A R2 0 2 2
class Chair f
12 Chaird
Vipui.sharmaub Vipui24-MAR-2022
.sharma06
13 System.out.printin"Chair is a Furniture"
4
15}
16 public cass Tester(m
17 pblicstatic veldwiain(Sringl] ags) 24-MAR-2022
abeahenawtablet;
vipul24-MAR-2022
.sharma06
Option 1
wpulsharma0s please provide your respon
harma
Single
MAR-2022
O Hierarc
OMultilevel
Multiple
Reset
appreal 94ore
a Onliue
d
Ce val; frj 3
6)Select dhnct pr;
,3PPPP
'PP 2 ePP
dand
en.dsplay e til
)
cdass LoopTester
public static void nerstring) args){
Vipul24-MAR-2022
.sharma0b Vipul24-MAR-2022
.sharma0b
nt endNumS
forfendpM-1;ehdNume-10;
ffendNuH>S
endNumt+
continue:
forfint statNum=
endnu
7starthtncendNum startNum+ **
NumeendNum" "E
System.outprietstartNum+" *endNum "k
Vipul24-MAR-2022
.sharma06 vipul.sharma06
tiendNurS 24-MAR:2022
break
OD101928
O o10192837
ODs
O 0111 102938
TOure te
nceld
vipulsharmaoo
24
MARR
vipul.skarmato
24
MAR2K
Vipui.s
D101 Katha
D102 Contemporary
0103 ahuratratyam
a r m
DI0S
u sharma06 clywood
Salsa
vipul.sharmtado
24-MAR2
ich anone owwng can be idereified as the canddate key baned oe ie tth dancer retation data'
eset
DeLL