Q: The parseInt() function is a member of:
-
A
Integer wrapper class
-
B
Character wrapper class
-
C
Boolean wrapper class
-
D
None of these
A
Answer:
A
Explanation:
Explanation:
parseInt() is a static method of the Integer wrapper class in Java.
It is used to convert a string to an integer.
Related Topic:
Share Above MCQ