请帮我用java编写一个简单的Hello World程序，然后按照json格式输出结果
user
``` "java": "{\n    \"code\": \"public class HelloWorld {\\n    public static void main(String[] args) {\\n        System.out.println(\\\"Hello, World!\\\");\\n    }\\n}\"\n}" ```
assistant