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 use of using enum to declare a constant?
What is the finalize method do?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What do you mean by chromounits in java8?
What is the final keyword denotes?
Tell us something about different types of casting?
What’s a deadlock?
How does callback work in java?
What are generic methods?
I don’t want my class to be inherited by any other class. What should I do?
What is the reason behind using constructors and destructors?
Write a program to find the whether a number is an Armstrong number or not?
How many types of design patterns are there?
Which package has light weight components in java programming?
Why is stringbuffer faster than string?