Differentiate between parseInt () and tostring () functions
Answers
Answered by
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