Q.

Which method defined in Integer class can be used to convert a whole number in string type to primitive int type.

A. valueOf()
B. intValue()
C. parseInt()
D. getInteger()
Answer» C. parseInt()
2.7k
0
Do you find this helpful?
6

View all MCQs in

Java Programming

Discussion

No comments yet