What is parseInt ?? In java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is parseInt ?? In java

During my java challenges I found so many questions asked on Parseint but in java course on sololearn I had not learnt this ,so can anyone explain me this with example.

9th Jan 2019, 6:20 PM
Vipinkumar V. Mishra
Vipinkumar V. Mishra - avatar
1 Answer
+ 1
parseInt () method in Java is used to transform string data type to int. Another use is to transform a number to different system (binary, octal, hexadecimal etc.). You can read more here: https://www.tutorialspoint.com/java/number_parseint.htm
9th Jan 2019, 6:40 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar