[Java] 1 liner, this question should be easy difficulty
This question should be easy instead of medium. The question is to test whether we know how to use string library.\njava\nclass Solution {\n    public String en
This question should be easy instead of medium. The question is to test whether we know how to use string library.\n```java\nclass Solution {\n    public String entityParser(String text) {\n        return text.replace("&quot;", "\\"").replace("&apos;", "\'").replace("&gt;", ">").replace("&lt;", "<").replace("&frasl;", "/").replace("&amp;", "&");\n    }\n}\n```
[]