Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

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()

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.