Question: 16.NumberFormatException is caused when a conversion between strings and number fails. a.False b.True 17.______ is used for comment in Java. a.& b.> c.! d.// 18.ArrayIndexOutOfBoundException
16.NumberFormatException is caused when a conversion between strings and number fails.
a.False
b.True
17.______ is used for comment in Java.
a.&
b.>
c.!
d.//
18.ArrayIndexOutOfBoundException is caused by _____________
a.i/o failures
b.division by zero
c.next()
d.bad array indexes
19.Which is the correct variable name in Java?
a.+AB
b.123AB
c.AB_CD
d.AB*
20.What is the output of the following java code?
String Y = COLLEGE; System.out.println (Y.indexOf(L));
a.5
b.2
c.1
d.6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
