15.
16.while (!stack.isEmpty()) {
18.}
19.
20.
reverseString = stack.pop();
if (inputString.equals(reverseString))
System.out.println("This is a symmetric character string.")
21.else
22.
System.out.println("This is not a symmetric character string.");
23.}
24. }
Question 2 (3 points): Assuming you are assigned to conduct the component test for the method
Zoom
+ 100%
Close