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 comparable and comparator interface?
What is the use of conditional statement?
How do I convert a string to an int in java?
What is meant by stack and queue?
What is java instanceof operator?
How do you find the maximum number from an array without comparing and sorting?
What is assembly condition codes?
Can you pass by reference in java?
What is java argument list?
What are the different types of multitasking?
What are filterstreams?
What is difference between final and immutable?
What is hashset in java?
What is the difference between declaration and definition in java?
What is return null in java?