Simple Java Solution:
\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        if(palindrome.length()==1)\n            return "";\n        char[] a=palindr
```\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        if(palindrome.length()==1)\n            return "";\n        char[] a=palindrome.toCharArray();boolean flag=true;\n        for(int i=0;i<a.length/2;i++)\n            if(a[i]!=\'a\'){\n                a[i]=\'a\';\n                flag=false;\n                break;\n            }\n        if(flag==true)\n            a[a.length-1]=\'b\';\n        return new String(a);\n    }\n}\n```
['String', 'Java']