[JAVA] || 2 Line Solution || Without loops
\nclass Solution {\n    public boolean isAnagram(String s, String t) {\n        char[] sCharArr = s.toCharArray();\n        char[] tCharArr = t.toCharArray();\n
```\nclass Solution {\n    public boolean isAnagram(String s, String t) {\n        char[] sCharArr = s.toCharArray();\n        char[] tCharArr = t.toCharArray();\n\n        Arrays.sort(sCharArr);\n        Arrays.sort(tCharArr);\n        return Arrays.equals(tCharArr, sCharArr);\n    }\n}\n```
['Java']