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 keyword auto for?
Difference between Preemptive scheduling vs. Time slicing?
What is module in project?
How many ways can we create singleton class?
Why scanner is used in java?
What are predicates in java 8?
State two differences between C and Java.
What is a private class in java?
Explain an algorithm to find depth of a binary tree.
What is the base class in java from which all classes are derived?
How do you clear a list in java?
What are computer functions?
Can a abstract class be declared final?
What about instanceof operator in java?
How finally used under exception handling?