Question: programming language is java Task 4: public class Palindrome TextWrapper final String isMG - IS a palindrome: final String isNotMag - is NOT a
Task 4: public class Palindrome TextWrapper final String isMG -" IS a palindrome": final String isNotMag - " is NOT a palindrome"; public static void main( Stringargs) new Palindrome TestWrappet(); ) publio Palindrome TestWrapper() // your code here public booleani.Palindrome ( Strings) // your code here Using the code defined above.complete the isPalindrome method so that it returns true ifs is a palindrome and false if it isn't. You must use a stack in your solution algorithm. Task 5:Set and Map Define a Set and Map as following: Set setstringe - new HashSet() Set set Integere - new HashSet() Map map new HashMar 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
