ICSE Class 10 Computer Applications Question 27 of 30

Solved Sample Paper 2 — Question 27

Back to all questions
27
Question

Question 2(vii)

State the method that

(a) converts a string to a primitive float data type.

(b) determines if the specified character is an uppercase character.

Answer

(a) Float.parseFloat()

(b) Character.isUpperCase()