1.

Write one word ansiver for the following :(i) A method thatyconverts a string to a primitive integer data type. (ii) The default initial value of a boolean variable data type.

Answer»

(i) int x = Integer.valueOf (s); 

(ii) The default initial value of a boolean variable data type is false.



Discussion

No Comment Found

Related InterviewSolutions