You are on page 1of 1
40, Wat wba ihe ett ft folowing Program? Publ cass Tol Pubes sess id mln(sing ars ‘Sings ve See pint equab(e2) Sree prt = co 2 false tue foe fale « tue fase a. we we Qt. we wing ean be operands faitmetc operators? : 2) Numer ews Poon S) Characters 6) Both Numer gfChaaBtere 220, Modulus operator, canbe apotist0 whic ofthese? 2) agers Floating - pont numbare {Bot neges and fstng point numbers 2} None of ire mentored 2. Winx = 0, whch of the folowing are eg ines of Java code for changing ney 2l08t x10 17 xe 2x=K+1; 4xeed) 8) 3&2 a)1,283 222, Which ofthese selection statements test only for equality? ait fp) awiteh te 4) none of the mentioned ‘Q23. Wich of these are selection statements n Java? . aio b) fort) ue d) break Q24. What is the output of this program? class Output bytes 1.2384 ‘ Ppublostateredd menting ausI) 1 ifa== b>>1) } 8 Switch can have identical values ualiy, wheregsif statement can evauste an) YP° go 406 ‘of boolean expreesion

You might also like