Identify the errors in the following statements and rewrite them: [2]
(i) string prodName=’Desktop’;
(ii) Boolean present=”false”;
Answers
Answered by
2
Answer:
The corrected version is:
(i) String prodName = "Desktop";
(ii) boolean present = false;
Similar questions