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
What is the use of flag?
What is the purpose of the enableevents() method?
What is maximum size of arraylist in java?
How the metacharacters are different from the ordinary characters?
Why we use multi threading instead of multiprocessing?
What is the final class?
When should the method invokelater() be used?
Is string a data type in java?
How do I get 64 bit java?
Explain parallel processing in java8?
What is array command?
Name few java util classes introduced with java 8 ?
How do you start a new line in java?
Can we have more than one package statement in the source file?
Write a program to print fibonacci series