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 are thread priorities and importance of thread priorities in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
how its run?
What is java Applet?
Difference between comparator and comparable in java?
What are recursive functions?
What is basic syntax?
What is java and their uses?
What restrictions are placed on method overriding?
What is a null class?
What is gc()?
What is the main use of generics in java?
Why set is used in java?
How does a cookie work in Servlets?
What is java and its types?