Answer Posted / akshya kumar
using the wrapper classes, by using the function in
following way:
int i_var = Integer.parseInt(string_var); //and as in
answer #2
Integer, Float, Long are wrapper classes predefined in JAVA
with methods parseInt(), parseFloat etc respectively.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can an exception be thrown manually by a programmer?
Define jit compiler?
What is array list in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is set string?
Is a boolean 1 bit?
What are runtime exceptions?
How many techniques can be employed to create a string object?
What does method mean?
What is immutable class in java?
How is garbage collection controlled?
how to convert Java project into Maven ?
Why java is considered as platform independent?
Can you instantiate the math class?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.