What is anagram and write java code for anagram
An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. For example : For word CAT anagram are TAC, CTA, ACT, TCA etc. We are going to write a clean code for the anagram….