Computer Science, asked by nikita8480, 11 months ago

Differentiate between parseInt () and tostring () functions​

Answers

Answered by pranjalk3101
9

both tostring and parselnt method are used to convert string into integer in java,but there are subtle difference between them...another difference between parselnt() and tostring() method is there return type .tostring() of java langs an integer into integer object while parselnt() method returns an int primitive.

Similar questions