Q. Which method is used to convert a String to an integer?
Solution:
Integer.parseInt() converts a String to a primitive int value.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Integer.parseInt() converts a String to a primitive int value.
Strengthen Your Practice with our comprehensive question bank.