![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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() |
View all MCQs in
Java ProgrammingNo comments yet