Find the errors and rectify it?
1. Char C=“a”;
2. String x = ‘computer’;
Answers
Answered by
0
Answer: hi
Explanation:
Char c ='a';. String x ="computer";. Explanation: if you're using the datatype char, then we use single quotes ('') and in a string datatype we use
double
Mark me as BRAINLIEST
Similar questions