Question: Which assignment is correct in Java? a. Char aChar = 5.5; b. Char aChar = W; c. Char aChar = '*'; d. Char aChar =
Which assignment is correct in Java?
a. Char aChar = 5.5;
b. Char aChar = "W";
c. Char aChar = '*';
d. Char aChar = $;
Step by Step Solution
3.46 Rating (159 Votes )
There are 3 Steps involved in it
C The character within single quotes can be assigned to achar variable ... View full answer
Get step-by-step solutions from verified subject matter experts
