When parseint method can be used?



When parseint method can be used?..

Answer / Alok Tiwari

The parseInt() method in Java is used to convert a string representation of a number (a String) into its integer equivalent. It is useful when you need to convert a string that represents an integer value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is the diff b/w arraylist and vector?

6 Answers   Code Genesis, Genesis, Sprintine Labs,


When do you get classcastexception?

1 Answers  


What is dynamic dispatch in java?

4 Answers  


please tell me what is wrapper class in java with example ?

6 Answers   HP,


What is a Java switch statement, and how can it be used?

2 Answers  


Is oracle charging for java?

1 Answers  


how many design pattern r there? and wht design pattern u use and why ?

5 Answers   HP,


What is bufferedwriter?

1 Answers  


What is Hierarchy of exception?

1 Answers   Amdocs,


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


What is garbage collection? What is the process that is responsible for doing that in java?

1 Answers  


Can a constructor be private and how are this() and super() method used with constructor?

1 Answers   Flextronics, Hexaware,


Categories