what is use of parse() method. explain with examples.
Answers
Answered by
2
it is used to ask the user number when we type pgm in input stream package.
ex:if n is the variable
n=Integer.parseInt(in.readLine());
ex:if n is the variable
n=Integer.parseInt(in.readLine());
chooooo:
thank uu
Similar questions