Suppose the controlling expression in a
switchstatement is
(stdIn.next() .charAt(0)), and you want to allow either ‘Q’ or ‘q’ to produce the same result, which is:
System.out.println(“quitting”) ;
Write the code fragment for the
casethat produces this result.
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.