Find the Error
Is the following statement syntactically correct? If not, describe the error, otherwise give the output when answer == 'Y' and also when answer == 'N' . You may assume that answer is declared elsewhere as char.
if (answer == 'Y'); else System.out.println(" Hello");
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.