{"id":2216,"date":"2025-03-02T10:39:39","date_gmt":"2025-03-02T02:39:39","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=2216"},"modified":"2025-03-02T10:39:39","modified_gmt":"2025-03-02T02:39:39","slug":"java-%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/02\/java-%e6%96%b9%e6%b3%95\/","title":{"rendered":"Java \u65b9\u6cd5"},"content":{"rendered":"\n<p>\u5728 Java \u4e2d\uff0c\u65b9\u6cd5\uff08Method\uff09\u662f\u5177\u6709\u7279\u5b9a\u529f\u80fd\u7684\u4ee3\u7801\u5757\uff0c\u7528\u6765\u6267\u884c\u67d0\u4e2a\u4efb\u52a1\u3002\u65b9\u6cd5\u53ef\u4ee5\u63a5\u53d7\u53c2\u6570\u5e76\u8fd4\u56de\u7ed3\u679c\uff0c\u4e5f\u53ef\u4ee5\u6ca1\u6709\u53c2\u6570\u6216\u8fd4\u56de\u503c\u3002\u65b9\u6cd5\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u3001\u6613\u4e8e\u91cd\u7528\u548c\u7ef4\u62a4\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. \u65b9\u6cd5\u7684\u5b9a\u4e49<\/strong><\/h3>\n\n\n\n<p>\u65b9\u6cd5\u7684\u5b9a\u4e49\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u90e8\u5206\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4fee\u9970\u7b26<\/strong>\uff1a\u5b9a\u4e49\u65b9\u6cd5\u8bbf\u95ee\u6743\u9650\uff08\u5982 <code>public<\/code>\u3001<code>private<\/code> \u7b49\uff09\u3002<\/li>\n\n\n\n<li><strong>\u8fd4\u56de\u7c7b\u578b<\/strong>\uff1a\u6307\u5b9a\u65b9\u6cd5\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u3002\u5982\u679c\u6ca1\u6709\u8fd4\u56de\u503c\uff0c\u5219\u7528 <code>void<\/code>\u3002<\/li>\n\n\n\n<li><strong>\u65b9\u6cd5\u540d\u79f0<\/strong>\uff1a\u65b9\u6cd5\u7684\u6807\u8bc6\u7b26\uff0c\u6309\u7167 Java \u547d\u540d\u89c4\u5219\u6765\u547d\u540d\u3002<\/li>\n\n\n\n<li><strong>\u53c2\u6570\u5217\u8868<\/strong>\uff1a\u65b9\u6cd5\u63a5\u53d7\u7684\u53c2\u6570\uff0c\u53ef\u4ee5\u4e3a\u7a7a\u3002<\/li>\n\n\n\n<li><strong>\u65b9\u6cd5\u4f53<\/strong>\uff1a\u65b9\u6cd5\u6267\u884c\u7684\u4ee3\u7801\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u57fa\u672c\u683c\u5f0f\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;\u8bbf\u95ee\u4fee\u9970\u7b26] \u8fd4\u56de\u7c7b\u578b \u65b9\u6cd5\u540d(&#91;\u53c2\u6570\u5217\u8868]) {\n    \/\/ \u65b9\u6cd5\u4f53\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        \/\/ \u8c03\u7528\u65b9\u6cd5\n        int sum = add(10, 20);\n        System.out.println(\"Sum: \" + sum);\n    }\n\n    \/\/ \u5b9a\u4e49\u4e00\u4e2a\u65b9\u6cd5\n    public static int add(int a, int b) {\n        return a + b;\n    }\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8f93\u51fa<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Sum: 30<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. \u65b9\u6cd5\u7684\u7ec4\u6210\u90e8\u5206<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">2.1 <strong>\u8bbf\u95ee\u4fee\u9970\u7b26<\/strong><\/h4>\n\n\n\n<p>Java \u4e2d\u7684\u65b9\u6cd5\u53ef\u4ee5\u4f7f\u7528\u8bbf\u95ee\u4fee\u9970\u7b26\u6765\u63a7\u5236\u8bbf\u95ee\u6743\u9650\uff0c\u5e38\u89c1\u7684\u8bbf\u95ee\u4fee\u9970\u7b26\u6709\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>public<\/code>\uff1a\u516c\u5f00\uff0c\u8868\u793a\u53ef\u4ee5\u88ab\u4efb\u4f55\u5176\u4ed6\u7c7b\u8bbf\u95ee\u3002<\/li>\n\n\n\n<li><code>private<\/code>\uff1a\u79c1\u6709\uff0c\u8868\u793a\u53ea\u80fd\u5728\u5f53\u524d\u7c7b\u5185\u90e8\u8bbf\u95ee\u3002<\/li>\n\n\n\n<li><code>protected<\/code>\uff1a\u53d7\u4fdd\u62a4\uff0c\u8868\u793a\u53ef\u4ee5\u5728\u5f53\u524d\u7c7b\u3001\u540c\u4e00\u4e2a\u5305\u4e0b\u7684\u5176\u4ed6\u7c7b\u3001\u4ee5\u53ca\u7ee7\u627f\u8be5\u7c7b\u7684\u5b50\u7c7b\u4e2d\u8bbf\u95ee\u3002<\/li>\n\n\n\n<li>\u9ed8\u8ba4\uff08\u65e0\u4fee\u9970\u7b26\uff09\uff1a\u4ec5\u5728\u540c\u4e00\u4e2a\u5305\u5185\u53ef\u8bbf\u95ee\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2.2 <strong>\u8fd4\u56de\u7c7b\u578b<\/strong><\/h4>\n\n\n\n<p>\u65b9\u6cd5\u7684\u8fd4\u56de\u7c7b\u578b\u6307\u5b9a\u65b9\u6cd5\u8fd4\u56de\u7684\u503c\u7684\u6570\u636e\u7c7b\u578b\u3002\u5e38\u89c1\u7684\u8fd4\u56de\u7c7b\u578b\u6709\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>void<\/code>\uff1a\u8868\u793a\u65b9\u6cd5\u4e0d\u8fd4\u56de\u4efb\u4f55\u503c\u3002<\/li>\n\n\n\n<li>\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff08\u5982 <code>int<\/code>\u3001<code>double<\/code>\u3001<code>char<\/code> \u7b49\uff09\u3002<\/li>\n\n\n\n<li>\u5f15\u7528\u7c7b\u578b\uff08\u5982 <code>String<\/code>\u3001<code>Object<\/code>\u3001\u6570\u7ec4\u7b49\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2.3 <strong>\u65b9\u6cd5\u540d<\/strong><\/h4>\n\n\n\n<p>\u65b9\u6cd5\u540d\u79f0\u5fc5\u987b\u9075\u5faa\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u53ea\u80fd\u5305\u542b\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u4e0b\u5212\u7ebf\uff08<code>_<\/code>\uff09\u548c\u7f8e\u5143\u7b26\u53f7\uff08<code>$<\/code>\uff09\u3002<\/li>\n\n\n\n<li>\u5fc5\u987b\u4ee5\u5b57\u6bcd\u3001\u4e0b\u5212\u7ebf\u6216\u7f8e\u5143\u7b26\u53f7\u5f00\u59cb\u3002<\/li>\n\n\n\n<li>\u65b9\u6cd5\u540d\u79f0\u901a\u5e38\u91c7\u7528\u5c0f\u9a7c\u5cf0\u547d\u540d\u6cd5\uff08\u5982 <code>calculateSum<\/code>\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2.4 <strong>\u53c2\u6570\u5217\u8868<\/strong><\/h4>\n\n\n\n<p>\u65b9\u6cd5\u53ef\u4ee5\u63a5\u6536\u96f6\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u3002\u6bcf\u4e2a\u53c2\u6570\u7531\u7c7b\u578b\u548c\u540d\u79f0\u7ec4\u6210\uff0c\u591a\u4e2a\u53c2\u6570\u4e4b\u95f4\u7528\u9017\u53f7\u5206\u9694\u3002\u65b9\u6cd5\u7684\u53c2\u6570\u662f\u53ef\u9009\u7684\uff0c\u53ef\u4ee5\u6ca1\u6709\u53c2\u6570\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void printMessage(String message) {\n    System.out.println(message);\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">2.5 <strong>\u65b9\u6cd5\u4f53<\/strong><\/h4>\n\n\n\n<p>\u65b9\u6cd5\u4f53\u5305\u542b\u4e00\u7cfb\u5217\u6267\u884c\u7684\u4ee3\u7801\uff0c\u8868\u793a\u65b9\u6cd5\u5b9e\u9645\u7684\u64cd\u4f5c\u3002\u65b9\u6cd5\u4f53\u901a\u5e38\u5305\u542b\u8bed\u53e5\u3001\u63a7\u5236\u7ed3\u6784\u548c\u5176\u4ed6\u65b9\u6cd5\u8c03\u7528\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. \u65b9\u6cd5\u7684\u8c03\u7528<\/strong><\/h3>\n\n\n\n<p>\u65b9\u6cd5\u7684\u8c03\u7528\u53ef\u4ee5\u901a\u8fc7\u4e24\u79cd\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u76f4\u63a5\u8c03\u7528<\/strong>\uff1a\u5728\u540c\u4e00\u4e2a\u7c7b\u4e2d\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u65b9\u6cd5\u3002<\/li>\n\n\n\n<li><strong>\u901a\u8fc7\u5bf9\u8c61\u8c03\u7528<\/strong>\uff1a\u5728\u4e0d\u540c\u7c7b\u4e2d\u9700\u8981\u901a\u8fc7\u5bf9\u8c61\u6765\u8c03\u7528\u5b9e\u4f8b\u65b9\u6cd5\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u76f4\u63a5\u8c03\u7528\u9759\u6001\u65b9\u6cd5<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        printMessage(\"Hello, Java!\");  \/\/ \u76f4\u63a5\u8c03\u7528\n    }\n\n    public static void printMessage(String message) {\n        System.out.println(message);\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u901a\u8fc7\u5bf9\u8c61\u8c03\u7528\u5b9e\u4f8b\u65b9\u6cd5<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>class Person {\n    String name;\n\n    public Person(String name) {\n        this.name = name;\n    }\n\n    public void sayHello() {\n        System.out.println(\"Hello, \" + name);\n    }\n}\n\npublic class Main {\n    public static void main(String&#91;] args) {\n        Person person = new Person(\"Alice\");\n        person.sayHello();  \/\/ \u901a\u8fc7\u5bf9\u8c61\u8c03\u7528\u5b9e\u4f8b\u65b9\u6cd5\n    }\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8f93\u51fa<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Hello, Alice<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. \u65b9\u6cd5\u7684\u91cd\u8f7d<\/strong><\/h3>\n\n\n\n<p>\u65b9\u6cd5\u91cd\u8f7d\u662f\u6307\u540c\u4e00\u4e2a\u7c7b\u4e2d\u53ef\u4ee5\u5b9a\u4e49\u591a\u4e2a\u65b9\u6cd5\uff0c\u5b83\u4eec\u6709\u76f8\u540c\u7684\u65b9\u6cd5\u540d\uff0c\u4f46\u53c2\u6570\u5217\u8868\u4e0d\u540c\uff08\u53c2\u6570\u4e2a\u6570\u3001\u7c7b\u578b\u6216\u987a\u5e8f\u4e0d\u540c\uff09\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u65b9\u6cd5\u91cd\u8f7d<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        System.out.println(add(5, 10));       \/\/ \u8c03\u7528 int \u7248\u672c\n        System.out.println(add(5.5, 10.5));   \/\/ \u8c03\u7528 double \u7248\u672c\n    }\n\n    public static int add(int a, int b) {\n        return a + b;\n    }\n\n    public static double add(double a, double b) {\n        return a + b;\n    }\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8f93\u51fa<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>15\n16.0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. \u65b9\u6cd5\u7684\u9012\u5f52<\/strong><\/h3>\n\n\n\n<p>\u9012\u5f52\u65b9\u6cd5\u662f\u6307\u65b9\u6cd5\u5728\u5176\u5b9a\u4e49\u4e2d\u76f4\u63a5\u6216\u95f4\u63a5\u5730\u8c03\u7528\u81ea\u8eab\u3002\u9012\u5f52\u65b9\u6cd5\u901a\u5e38\u9700\u8981\u4e00\u4e2a\u7ec8\u6b62\u6761\u4ef6\uff0c\u4ee5\u907f\u514d\u65e0\u9650\u9012\u5f52\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u8ba1\u7b97\u9636\u4e58<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        int result = factorial(5);\n        System.out.println(\"Factorial: \" + result);\n    }\n\n    public static int factorial(int n) {\n        if (n == 0) {\n            return 1;  \/\/ \u9012\u5f52\u7684\u7ec8\u6b62\u6761\u4ef6\n        }\n        return n * factorial(n - 1);  \/\/ \u9012\u5f52\u8c03\u7528\n    }\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8f93\u51fa<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Factorial: 120<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. \u53c2\u6570\u4f20\u9012<\/strong><\/h3>\n\n\n\n<p>\u5728 Java \u4e2d\uff0c\u65b9\u6cd5\u7684\u53c2\u6570\u662f\u901a\u8fc7 <strong>\u503c\u4f20\u9012<\/strong> \u7684\u3002\u8fd9\u610f\u5473\u7740\u4f20\u9012\u7684\u662f\u53c2\u6570\u7684\u526f\u672c\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u57fa\u672c\u6570\u636e\u7c7b\u578b<\/strong>\uff1a\u4f20\u9012\u7684\u662f\u503c\u7684\u526f\u672c\uff0c\u65b9\u6cd5\u5185\u90e8\u5bf9\u53c2\u6570\u7684\u4fee\u6539\u4e0d\u4f1a\u5f71\u54cd\u539f\u59cb\u53d8\u91cf\u3002<\/li>\n\n\n\n<li><strong>\u5f15\u7528\u6570\u636e\u7c7b\u578b<\/strong>\uff1a\u4f20\u9012\u7684\u662f\u5bf9\u8c61\u7684\u5f15\u7528\u526f\u672c\uff0c\u65b9\u6cd5\u5185\u90e8\u5bf9\u5bf9\u8c61\u7684\u4fee\u6539\u4f1a\u5f71\u54cd\u539f\u59cb\u5bf9\u8c61\uff0c\u4f46\u5bf9\u5f15\u7528\u672c\u8eab\u7684\u4fee\u6539\u4e0d\u4f1a\u5f71\u54cd\u539f\u59cb\u5f15\u7528\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u57fa\u672c\u6570\u636e\u7c7b\u578b\u7684\u53c2\u6570\u4f20\u9012<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        int number = 10;\n        modifyNumber(number);\n        System.out.println(\"After modification: \" + number);  \/\/ \u8f93\u51fa 10\n    }\n\n    public static void modifyNumber(int num) {\n        num = 20;  \/\/ \u4fee\u6539\u7684\u662f\u5c40\u90e8\u53d8\u91cf num\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u5f15\u7528\u6570\u636e\u7c7b\u578b\u7684\u53c2\u6570\u4f20\u9012<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        Person person = new Person(\"Alice\");\n        modifyPerson(person);\n        System.out.println(\"After modification: \" + person.name);  \/\/ \u8f93\u51fa Bob\n    }\n\n    public static void modifyPerson(Person p) {\n        p.name = \"Bob\";  \/\/ \u4fee\u6539\u7684\u662f\u5bf9\u8c61\u5185\u90e8\u7684\u5c5e\u6027\n    }\n}\n\nclass Person {\n    String name;\n\n    public Person(String name) {\n        this.name = name;\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>7. \u65b9\u6cd5\u7684\u8fd4\u56de\u503c<\/strong><\/h3>\n\n\n\n<p>\u65b9\u6cd5\u53ef\u4ee5\u8fd4\u56de\u4efb\u4f55\u7c7b\u578b\u7684\u6570\u636e\uff0c\u4e5f\u53ef\u4ee5\u8fd4\u56de <code>void<\/code>\uff08\u8868\u793a\u6ca1\u6709\u8fd4\u56de\u503c\uff09\u3002\u8fd4\u56de\u8bed\u53e5\u7528\u4e8e\u5c06\u65b9\u6cd5\u7684\u6267\u884c\u7ed3\u679c\u8fd4\u56de\u7ed9\u8c03\u7528\u8005\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u8fd4\u56de\u503c<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n    public static void main(String&#91;] args) {\n        int result = multiply(5, 4);\n        System.out.println(\"Multiplication Result: \" + result);  \/\/ \u8f93\u51fa 20\n    }\n\n    public static int multiply(int a, int b) {\n        return a * b;\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>8. \u603b\u7ed3<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u65b9\u6cd5\u7684\u57fa\u672c\u7ed3\u6784<\/strong>\u5305\u62ec\u8bbf\u95ee\u4fee\u9970\u7b26\u3001\u8fd4\u56de\u7c7b\u578b\u3001\u65b9\u6cd5\u540d\u3001\u53c2\u6570\u5217\u8868\u3001\u65b9\u6cd5\u4f53\u3002<\/li>\n\n\n\n<li><strong>\u65b9\u6cd5\u7684\u8c03\u7528<\/strong>\u53ef\u4ee5\u662f\u76f4\u63a5\u8c03\u7528\u6216\u8005\u901a\u8fc7\u5bf9\u8c61\u8c03\u7528\u3002<\/li>\n\n\n\n<li><strong>\u65b9\u6cd5\u91cd\u8f7d<\/strong>\u5141\u8bb8\u591a\u4e2a\u540c\u540d\u65b9\u6cd5\u5177\u6709\u4e0d\u540c\u7684\u53c2\u6570\u5217\u8868\u3002<\/li>\n\n\n\n<li><strong>\u9012\u5f52<\/strong>\u662f\u65b9\u6cd5\u8c03\u7528\u81ea\u8eab\u7684\u4e00\u79cd\u6280\u672f\u3002<\/li>\n\n\n\n<li><strong>\u65b9\u6cd5\u53c2\u6570\u4f20\u9012<\/strong>\u662f\u503c\u4f20\u9012\uff0c\u5bf9\u4e8e\u5f15\u7528\u7c7b\u578b\uff0c\u4fee\u6539\u5bf9\u8c61\u7684\u5185\u5bb9\u4f1a\u5f71\u54cd\u539f\u59cb\u5bf9\u8c61\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Java \u4e2d\uff0c\u65b9\u6cd5\uff08Method\uff09\u662f\u5177\u6709\u7279\u5b9a\u529f\u80fd\u7684\u4ee3\u7801\u5757\uff0c\u7528\u6765\u6267\u884c\u67d0\u4e2a\u4efb\u52a1\u3002\u65b9\u6cd5\u53ef\u4ee5\u63a5\u53d7\u53c2\u6570\u5e76\u8fd4\u56de\u7ed3\u679c\uff0c\u4e5f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-2216","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=2216"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2216\/revisions"}],"predecessor-version":[{"id":2217,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2216\/revisions\/2217"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=2216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=2216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=2216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}