Computer Applications
State the method that:
- Converts a string to a primitive float data type.
- Determines if the specified character is an uppercase character.
Related Questions
The method to convert a String to double is:
- String.toDouble()
- Double.Parsedouble()
- Double.parseDouble(String)
- Double.parseDouble()
Differentiate between boxing and unboxing.
Give the output of the following code:
String P = "20", Q ="19"; int a = Integer.parseInt(P); int b = Integer.valueOf(Q); System.out.println(a+""+b);