

MCQOPTIONS
Saved Bookmarks
1. |
Choose a possible error with a Ternary operator while compiling a Java program. |
A. | The left-hand side of an assignment must be a variable. |
B. | void is an invalid type for the variable |
C. | Type mismatch: cannot convert from void to int |
D. | All |
Answer» E. | |