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
Math,
6 days ago
Math,
12 days ago
Social Sciences,
8 months ago
Physics,
8 months ago
English,
8 months ago