(String args[])
| 44 | |
| 45 | /* Driver code*/ |
| 46 | public static void main(String args[]) |
| 47 | { |
| 48 | char str1[] = ("gram").toCharArray(); |
| 49 | char str2[] = ("arm").toCharArray(); |
| 50 | |
| 51 | // Function call |
| 52 | if (areAnagram(str1, str2)) |
| 53 | System.out.println("The two strings are" |
| 54 | + " anagram of each other"); |
| 55 | else |
| 56 | System.out.println("The two strings are not" |
| 57 | + " anagram of each other"); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 |
nothing calls this directly
no test coverage detected