Answer Posted / akshya kumar
we can also use valueOf method of wrapper classes like:
int i_var = Integer.valueOf(string_var);
float f_var = Float.valueOf(string_vatr);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is an arraylist in java?
What is java regex?
Explain about method local inner classes or local inner classes in java?
What is a final class in java?
What does compareto () do in java?
What is :: operator in java?
What is collection class in java? List down its methods and interfaces.
What is a char in java?
Do we need to manually write Copy Constructor?
How to create a custom exception?
Can you tell me range of byte?
What is the difference between the file and randomaccessfile classes?
What is keyword and identifier?
Tell me are there implementations for sorting and searching in the java libarary?
How many bits is a float?