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 the difference between synchronized and synchronized block?
Can we make the abstract methods static in java?
What is a generic data type?
What are the advantages of java?
What is ternary operator?
What are the core java topics?
What is :: operator in java 8?
What is widening and narrowing in java? Discuss with an example.
What about static nested classes in java?
What is meant by bytecode?
What is an i/o filter?
What is the difference between post and put?
Can we override constructor?
Where pragma is used?
How is garbage collection controlled?