{"id":1237,"date":"2025-02-24T10:29:52","date_gmt":"2025-02-24T02:29:52","guid":{"rendered":"https:\/\/www.tqazy.com\/?p=1237"},"modified":"2025-02-24T20:23:53","modified_gmt":"2025-02-24T12:23:53","slug":"%e9%9d%a2%e8%af%95%e7%ac%94%e8%ae%b001-java%e5%9f%ba%e7%a1%80%ef%bc%88%e4%b8%80%ef%bc%89%ef%bc%9ajava%e8%af%ad%e8%a8%80%e5%9f%ba%e7%a1%80","status":"publish","type":"post","link":"https:\/\/www.tqazy.com\/?p=1237","title":{"rendered":"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840"},"content":{"rendered":"<h1>\u4e00\u3001Java\u8bed\u8a00\u7b80\u4ecb<\/h1>\n<p>Java\u662f\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002\u5176\u7279\u6b8a\u6027\u663e\u8457\uff1a<\/p>\n<ul>\n<li><strong>\u5177\u5907\u5e73\u53f0\u65e0\u5173\u6027<\/strong>\uff0c\u4ee3\u7801\u7f16\u8bd1\u6210\u5b57\u8282\u7801\uff0c\u4f9d\u6258JVM\u53ef\u8de8\u5e73\u53f0\u8fd0\u884c\uff1b<\/li>\n<li>\u6709<strong>\u81ea\u52a8\u5185\u5b58\u7ba1\u7406<\/strong>\uff0c\u5783\u573e\u56de\u6536\u673a\u5236\u8ba9\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u91ca\u653e\u5185\u5b58\uff1b<\/li>\n<li><strong>\u652f\u6301\u591a\u7ebf\u7a0b<\/strong>\uff0c\u80fd\u9ad8\u6548\u5904\u7406\u5e76\u53d1\u4efb\u52a1\uff1b<\/li>\n<li>\u62e5<strong>\u6709\u4e30\u5bcc\u7c7b\u5e93<\/strong>\uff0c\u6db5\u76d6\u7f51\u7edc\u3001\u6587\u4ef6\u7b49\u591a\u9886\u57df\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\uff1b<\/li>\n<li><strong>\u6ce8\u91cd\u5b89\u5168<\/strong>\uff0c\u6709\u5b57\u8282\u7801\u9a8c\u8bc1\u3001\u5b89\u5168\u7ba1\u7406\u5668\u7b49\u4fdd\u969c\uff1b<\/li>\n<li>\u8fd8<strong>\u652f\u6301\u5206\u5e03\u5f0f\u8ba1\u7b97<\/strong>\uff0c\u50cfRMI\u53ef\u5b9e\u73b0\u8fdc\u7a0b\u65b9\u6cd5\u8c03\u7528\uff0c\u9002\u5e94\u5927\u89c4\u6a21\u7cfb\u7edf\u5f00\u53d1\u3002<\/li>\n<\/ul>\n<h1>\u4e8c\u3001\u6570\u636e\u7c7b\u578b<\/h1>\n<p>Java \u6570\u636e\u7c7b\u578b\u5206\u4e24\u7c7b\uff1a<\/p>\n<p><strong>\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff088\u79cd\uff09\uff1a<\/strong><\/p>\n<ul>\n<li>\u6574\u6570\u578b\uff1abyte\u3001short\u3001int\u3001long<\/li>\n<li>\u6d6e\u70b9\u578b\uff1afloat\u3001double<\/li>\n<li>\u5b57\u7b26\u578b\uff1achar<\/li>\n<li>\u5e03\u5c14\u578b\uff1aboolean<\/li>\n<\/ul>\n<p><strong>\u5f15\u7528\u6570\u636e\u7c7b\u578b\uff1a<\/strong><\/p>\n<ul>\n<li>\u7c7b\uff08class\uff09\uff1a\u5982 String \u7b49<\/li>\n<li>\u63a5\u53e3\uff08interface\uff09<\/li>\n<li>\u6570\u7ec4\uff08array\uff09<\/li>\n<\/ul>\n<p>\u57fa\u672c\u6570\u636e\u7c7b\u578b\u5b58\u50a8\u503c\uff0c\u5360\u7528\u56fa\u5b9a\u5185\u5b58\uff1b<br \/>\n\u5f15\u7528\u6570\u636e\u7c7b\u578b\u5b58\u50a8\u5bf9\u8c61\u5f15\u7528\uff0c\u53ef\u8868\u793a\u590d\u6742\u6570\u636e\u7ed3\u6784\u3002<\/p>\n<h1>\u4e09\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf<\/h1>\n<p><strong>3.1 \u4ec0\u4e48\u662f\u53d8\u91cf\u548c\u5e38\u91cf\uff0c\u5b83\u4eec\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p><strong>\u7b54\uff1a<\/strong><br \/>\n\u53d8\u91cf\u662f\u7a0b\u5e8f\u4e2d\u53ef\u4ee5\u6539\u53d8\u503c\u7684\u5b58\u50a8\u5355\u5143\uff0c\u7528\u4e8e\u5b58\u50a8\u6570\u636e\uff0c\u5728\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u4e2d\u5176\u503c\u53ef\u4ee5\u88ab\u4fee\u6539\u3002<br \/>\n\u5e38\u91cf\u662f\u5728\u7a0b\u5e8f\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u503c\u4e0d\u80fd\u88ab\u6539\u53d8\u7684\u91cf\uff0c\u4f7f\u7528 final \u5173\u952e\u5b57\u4fee\u9970\u3002<br \/>\n\u533a\u522b\u5728\u4e8e\u53d8\u91cf\u503c\u53ef\u53d8\uff0c\u5e38\u91cf\u503c\u4e0d\u53ef\u53d8\u3002<\/p>\n<p><strong>3.2 Java\u6807\u8bc6\u7b26\u7684\u547d\u540d\u89c4\u5219<\/strong><\/p>\n<p><strong>\u7b54\uff1a<\/strong><br \/>\n<strong>(1) \u57fa\u672c\u547d\u540d\u89c4\u5219\uff1a<\/strong><br \/>\n\u8fd9\u4e9b\u89c4\u5219\u662f\u5f3a\u5236\u6027\u7684\uff0c\u8fdd\u53cd\u89c4\u5219\u4f1a\u5bfc\u81f4\u7f16\u8bd1\u9519\u8bef\uff1a<\/p>\n<ul>\n<li><strong>\u7ec4\u6210\u5143\u7d20\uff1a<\/strong> \u6807\u8bc6\u7b26\u53ef\u4ee5\u7531\u5b57\u6bcd\uff08\u5305\u542b\u82f1\u6587\u5b57\u6bcd\u5927\u5c0f\u5199\u3001\u4e2d\u6587\u3001\u65e5\u6587\u7b49\uff09\u3001\u6570\u5b57\u3001\u4e0b\u5212\u7ebf_\u3001\u4ee5\u53ca\u7f8e\u5143\u7b26\u53f7 $ \u7ec4\u6210\u3002\u4e0d\u8fc7\uff0c\u6570\u5b57\u4e0d\u80fd\u4f5c\u4e3a\u6807\u8bc6\u7b26\u7684\u5f00\u5934\u3002<br \/>\n\u4f8b\u5982\uff0cmyVariable\u3001_count\u3001$price \u90fd\u662f\u5408\u6cd5\u7684\uff0c\u4f46 123abc \u4e0d\u5408\u6cd5\u3002<\/li>\n<li><strong>\u533a\u5206\u5927\u5c0f\u5199\uff1a<\/strong> Java \u662f\u5927\u5c0f\u5199\u654f\u611f\u7684\u8bed\u8a00\uff0c\u6240\u4ee5 myVariable \u548c MyVariable \u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u6807\u8bc6\u7b26\u3002<\/li>\n<li><strong>\u4e0d\u80fd\u662f\u5173\u952e\u5b57\u6216\u4fdd\u7559\u5b57\uff1a<\/strong> \u4e0d\u80fd\u4f7f\u7528 Java \u7684\u5173\u952e\u5b57\uff08\u5982 class\u3001public\u3001if \u7b49\uff09\u548c\u4fdd\u7559\u5b57\uff08\u5982 goto\u3001const \u7b49\uff09\u4f5c\u4e3a\u6807\u8bc6\u7b26\u3002<\/li>\n<\/ul>\n<p><strong>(2) \u5e38\u89c1\u547d\u540d\u89c4\u8303\uff08\u975e\u5f3a\u5236\uff0c\u4f46\u63a8\u8350\u9075\u5faa\uff09<\/strong><br \/>\n\u8fd9\u4e9b\u89c4\u8303\u6709\u52a9\u4e8e\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff1a<\/p>\n<ul>\n<li><strong>\u7c7b\u540d\uff1a\u5927\u9a7c\u5cf0\u547d\u540d\u6cd5\uff1a<\/strong><br \/>\n\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u5927\u5199\uff0c\u5176\u4f59\u5b57\u6bcd\u5c0f\u5199\u3002<br \/>\n\u4f8b\u5982\uff0cPerson\u3001StudentInfo\u3001DataProcessor \u7b49\u3002<br \/>\n\u8fd9\u79cd\u547d\u540d\u65b9\u5f0f\u80fd\u6e05\u6670\u53cd\u6620\u7c7b\u7684\u529f\u80fd\u6216\u4ee3\u8868\u7684\u4e8b\u7269\u3002<\/li>\n<li><strong>\u53d8\u91cf\u540d\uff1a\u5c0f\u9a7c\u5cf0\u547d\u540d\u6cd5\u3001\u89c1\u540d\u77e5\u610f<\/strong><br \/>\n<strong>\u5c0f\u9a7c\u5cf0\u547d\u540d\u6cd5\uff1a<\/strong>\u7b2c\u4e00\u4e2a\u5355\u8bcd\u9996\u5b57\u6bcd\u5c0f\u5199\uff0c\u540e\u7eed\u6bcf\u4e2a\u5355\u8bcd\u9996\u5b57\u6bcd\u5927\u5199\u3002<br \/>\n\u4f8b\u5982\uff0cage\u3001studentName\u3001totalAmount \u7b49\u3002<br \/>\n\u8fd9\u6837\u547d\u540d\u80fd\u76f4\u89c2\u4f53\u73b0\u53d8\u91cf\u7684\u7528\u9014\u3002<br \/>\n<strong>\u89c1\u540d\u77e5\u610f\uff1a<\/strong>\u53d8\u91cf\u540d\u5e94\u5177\u6709\u63cf\u8ff0\u6027\uff0c\u8ba9\u4eba\u4e00\u770b\u5c31\u660e\u767d\u8be5\u53d8\u91cf\u5b58\u50a8\u7684\u662f\u4ec0\u4e48\u6570\u636e\u3002<br \/>\n\u6bd4\u5982\uff0c\u7528 studentCount \u8868\u793a\u5b66\u751f\u6570\u91cf\uff0c\u800c\u4e0d\u662f\u4f7f\u7528\u65e0\u610f\u4e49\u7684 a\u3001b \u7b49\u3002<\/li>\n<li><strong>\u65b9\u6cd5\u540d\uff1a\u5c0f\u9a7c\u5cf0\u547d\u540d\u6cd5\u3001\u52a8\u8bcd\u5f00\u5934<\/strong><br \/>\n<strong>\u5c0f\u9a7c\u5cf0\u547d\u540d\u6cd5\uff1a<\/strong>\u548c\u53d8\u91cf\u540d\u7c7b\u4f3c\uff0c\u7b2c\u4e00\u4e2a\u5355\u8bcd\u9996\u5b57\u6bcd\u5c0f\u5199\uff0c\u540e\u7eed\u6bcf\u4e2a\u5355\u8bcd\u9996\u5b57\u6bcd\u5927\u5199\u3002<br \/>\n\u4f8b\u5982\uff0cgetAge()\u3001calculateTotal()\u3001printInfo() \u7b49\u3002<br \/>\n<strong>\u52a8\u8bcd\u5f00\u5934\uff1a<\/strong>\u65b9\u6cd5\u901a\u5e38\u8868\u793a\u4e00\u4e2a\u52a8\u4f5c\uff0c\u6240\u4ee5\u65b9\u6cd5\u540d\u4e00\u822c\u4ee5\u52a8\u8bcd\u5f00\u5934\uff0c\u6e05\u6670\u8868\u8fbe\u8be5\u65b9\u6cd5\u7684\u529f\u80fd\u3002<\/li>\n<li><strong>\u5e38\u91cf\u540d\uff1a\u5168\u90e8\u5927\u5199<\/strong><br \/>\n\u5355\u8bcd\u4e4b\u95f4\u7528\u4e0b\u5212\u7ebf _ \u5206\u9694\u3002<br \/>\n\u4f8b\u5982\uff0cMAX_VALUE\u3001PI\u3001DEFAULT_TIMEOUT \u7b49\u3002<br \/>\n\u8fd9\u6837\u80fd\u660e\u663e\u533a\u5206\u5e38\u91cf\u548c\u5176\u4ed6\u53d8\u91cf\u3002<\/li>\n<li><strong>\u5305\u540d\uff1a\u5168\u5c0f\u5199<\/strong><br \/>\n\u901a\u5e38\u91c7\u7528\u57df\u540d\u53cd\u8f6c\u7684\u5f62\u5f0f\uff0c\u4ee5\u4fdd\u8bc1\u5305\u540d\u7684\u552f\u4e00\u6027\u3002<br \/>\n\u4f8b\u5982\uff0c\u4e00\u4e2a\u516c\u53f8\u7684\u57df\u540d\u662f example.com\uff0c\u5176\u5305\u540d\u53ef\u80fd\u662f com.example.project \u3002<\/li>\n<\/ul>\n<h1>\u56db\u3001\u8fd0\u7b97\u7b26<\/h1>\n<p><strong>4.1 \u903b\u8f91\u4e0e\uff08&amp;&amp;\uff09\u548c\u6309\u4f4d\u4e0e\uff08&amp;\uff09\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\n\u903b\u8f91\u4e0e\uff08&amp;&amp;\uff09\u662f\u77ed\u8def\u8fd0\u7b97\u7b26\uff0c\u5f53\u7b2c\u4e00\u4e2a\u64cd\u4f5c\u6570\u4e3a false \u65f6\uff0c\u4e0d\u4f1a\u518d\u8ba1\u7b97\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u3002<br \/>\n\u6309\u4f4d\u4e0e\uff08&amp;\uff09\u4f1a\u5bf9\u4e24\u4e2a\u64cd\u4f5c\u6570\u7684\u6bcf\u4e00\u4f4d\u8fdb\u884c\u4e0e\u8fd0\u7b97\uff0c\u65e0\u8bba\u7b2c\u4e00\u4e2a\u64cd\u4f5c\u6570\u7ed3\u679c\u5982\u4f55\uff0c\u90fd\u4f1a\u8ba1\u7b97\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u3002<\/p>\n<p><strong>4.2 \u903b\u8f91\u6216\uff08||\uff09\u548c\u6309\u4f4d\u6216\uff08|\uff09\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\n\u903b\u8f91\u6216\uff08||\uff09\u662f\u77ed\u8def\u8fd0\u7b97\u7b26\uff0c\u5f53\u7b2c\u4e00\u4e2a\u64cd\u4f5c\u6570\u4e3a true \u65f6\uff0c\u4e0d\u4f1a\u518d\u8ba1\u7b97\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u3002<br \/>\n\u6309\u4f4d\u6216\uff08|\uff09\u4f1a\u5bf9\u4e24\u4e2a\u64cd\u4f5c\u6570\u7684\u6bcf\u4e00\u4f4d\u8fdb\u884c\u6216\u8fd0\u7b97\uff0c\u65e0\u8bba\u7b2c\u4e00\u4e2a\u64cd\u4f5c\u6570\u7ed3\u679c\u5982\u4f55\uff0c\u90fd\u4f1a\u8ba1\u7b97\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u3002<\/p>\n<p><strong>4.3 \u8bf7\u7b80\u8981\u8bf4\u660e i++ \u548c ++i \u7684\u533a\u522b\u3002<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\ni++ \u662f\u540e\u7f6e\u81ea\u589e\u8fd0\u7b97\u7b26\uff0c\u5148\u8fd4\u56de i \u7684\u5f53\u524d\u503c\uff0c\u7136\u540e\u518d\u5c06 i \u7684\u503c\u52a0 1\uff1b<br \/>\n++i \u662f\u524d\u7f6e\u81ea\u589e\u8fd0\u7b97\u7b26\uff0c\u5148\u5c06 i \u7684\u503c\u52a0 1\uff0c\u7136\u540e\u518d\u8fd4\u56de i \u589e\u52a0\u540e\u7684\u503c\u3002<br \/>\n\u6bd4\u5982\uff1a<\/p>\n<pre><code class=\"language-java\">int a = 5;\nint b = 3;\nint c = a++ + b;\n\/\/ \u6b64\u65f6a=6\uff0cb=3\uff0cc=8\n\na = 5;\nb = 3;\nint d = ++a + b;\n\/\/ \u6b64\u65f6a=6\uff0cb=3\uff0cd=9<\/code><\/pre>\n<h1>\u4e94\u3001\u5faa\u73af\u8bed\u53e5<\/h1>\n<p><strong>5.1 \u9898\u76ee 1\uff1afor\u3001while \u548c do-while \u5faa\u73af\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><\/p>\n<ul>\n<li>\u6267\u884c\u987a\u5e8f\uff1a\n<ul>\n<li>for \u548c while \u5faa\u73af\u5148\u5224\u65ad\u6761\u4ef6\uff0c\u6761\u4ef6\u4e3a\u771f\u624d\u6267\u884c\u5faa\u73af\u4f53\uff1b<\/li>\n<li>do-while \u5faa\u73af\u5148\u6267\u884c\u4e00\u6b21\u5faa\u73af\u4f53\uff0c\u518d\u5224\u65ad\u6761\u4ef6\uff0c\u6240\u4ee5 do-while \u5faa\u73af\u81f3\u5c11\u4f1a\u6267\u884c\u4e00\u6b21\u5faa\u73af\u4f53\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u9002\u7528\u573a\u666f\uff1a\n<ul>\n<li>for \u5faa\u73af\u9002\u7528\u4e8e\u5df2\u77e5\u5faa\u73af\u6b21\u6570\u7684\u573a\u666f\uff1b<\/li>\n<li>while \u5faa\u73af\u9002\u7528\u4e8e\u5faa\u73af\u6b21\u6570\u672a\u77e5\uff0c\u4ec5\u6839\u636e\u6761\u4ef6\u5224\u65ad\u662f\u5426\u7ee7\u7eed\u5faa\u73af\u7684\u573a\u666f\uff1b<\/li>\n<li>do-while \u5faa\u73af\u9002\u7528\u4e8e\u9700\u8981\u5148\u6267\u884c\u4e00\u6b21\u64cd\u4f5c\uff0c\u518d\u6839\u636e\u6761\u4ef6\u51b3\u5b9a\u662f\u5426\u7ee7\u7eed\u5faa\u73af\u7684\u573a\u666f\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>5.2 \u5728 \u5faa\u73af\u4e2d\u4f7f\u7528 <code>break<\/code> \u548c <code>continue<\/code> \u8bed\u53e5\u6709\u4ec0\u4e48\u4f5c\u7528\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><\/p>\n<ul>\n<li><code>break<\/code> \u8bed\u53e5\u7528\u4e8e\u7ec8\u6b62\u6574\u4e2a\u5faa\u73af\uff0c\u8df3\u51fa\u5faa\u73af\u4f53\u6267\u884c\u5faa\u73af\u4e4b\u540e\u7684\u4ee3\u7801\u3002<br \/>\n\u4f8b\u5982\u5728\u4e00\u4e2a\u67e5\u627e\u7279\u5b9a\u5143\u7d20\u7684 <code>for<\/code> \u5faa\u73af\u4e2d\uff0c\u627e\u5230\u5143\u7d20\u540e\u4f7f\u7528 <code>break<\/code> \u7ed3\u675f\u5faa\u73af\u3002<br \/>\n\u6ce8\u610f\uff1a\u5982\u679c\u662f\u5728\u5d4c\u5957\u5faa\u73af\uff0c\u90a3\u4e48\u53ea\u80fd\u8df3\u51fa\u5f53\u524d\u6240\u5728\u7684\u5faa\u73af\u4f53\uff0c\u65e0\u6cd5\u4e00\u6b21\u6027\u8df3\u51fa\u591a\u5c42\u5faa\u73af\u4f53<\/li>\n<li><code>continue<\/code> \u8bed\u53e5\u7528\u4e8e\u8df3\u8fc7\u672c\u6b21\u5faa\u73af\u7684\u5269\u4f59\u90e8\u5206\uff0c\u76f4\u63a5\u5f00\u59cb\u4e0b\u4e00\u6b21\u5faa\u73af\u3002<br \/>\n\u4f8b\u5982\u5728\u7edf\u8ba1\u5076\u6570\u548c\u7684\u5faa\u73af\u4e2d\uff0c\u9047\u5230\u5947\u6570\u65f6\u4f7f\u7528 <code>continue<\/code> \u8df3\u8fc7\u540e\u7eed\u6c42\u548c\u4ee3\u7801\uff0c\u7ee7\u7eed\u4e0b\u4e00\u6b21\u5faa\u73af\u3002<\/li>\n<\/ul>\n<p><strong>5.3 \u5982\u4f55\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u6253\u5370\u4e00\u4e2a\u4e5d\u4e5d\u4e58\u6cd5\u8868\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\n\u53ef\u4ee5\u4f7f\u7528\u4e24\u5c42 for \u5faa\u73af\u6765\u5b9e\u73b0\uff0c\u5916\u5c42\u5faa\u73af\u63a7\u5236\u884c\u6570\uff0c\u5185\u5c42\u5faa\u73af\u63a7\u5236\u6bcf\u884c\u7684\u5217\u6570\u3002<br \/>\n\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-java\">for (int i = 1; i &lt;= 9; i++) {\n    for (int j = 1; j &lt;= i; j++) {\n        System.out.print(j + &quot; * &quot; + i + &quot; = &quot; + (i * j) + &quot;\\t&quot;);\n    }\n    System.out.println();\n}<\/code><\/pre>\n<h1>\u516d\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5<\/h1>\n<p><strong>6.1 \u7b80\u8ff0 Java \u4e2d if &#8211; else\u3001switch \u8bed\u53e5\u7684\u4f7f\u7528\u573a\u666f\u53ca\u533a\u522b<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><\/p>\n<ul>\n<li>if &#8211; else \u8bed\u53e5\u9002\u7528\u4e8e\u6761\u4ef6\u5224\u65ad\u60c5\u51b5\u8f83\u4e3a\u590d\u6742\uff0c\u6761\u4ef6\u8868\u8fbe\u5f0f\u4e3a\u5e03\u5c14\u7c7b\u578b\u7684\u573a\u666f\uff0c\u53ef\u5904\u7406\u8303\u56f4\u6027\u7684\u6761\u4ef6\u5224\u65ad\u3002<br \/>\n\u5982\u5224\u65ad\u6210\u7ee9\u7b49\u7ea7\uff080 &#8211; 59 \u4e3a\u4e0d\u53ca\u683c\u7b49\uff09\u3002<\/li>\n<li>switch \u8bed\u53e5\u9002\u7528\u4e8e\u6761\u4ef6\u4e3a\u56fa\u5b9a\u79bb\u6563\u503c\u7684\u573a\u666f\u3002<br \/>\n\u5982\u6839\u636e\u661f\u671f\u51e0\u6267\u884c\u4e0d\u540c\u64cd\u4f5c\u3002<\/li>\n<li>\u533a\u522b\u5728\u4e8e if &#8211; else \u53ef\u5904\u7406\u66f4\u7075\u6d3b\u7684\u6761\u4ef6\uff0cswitch \u53ea\u80fd\u5bf9\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff08\u5982 byte\u3001short\u3001int\u3001char\uff09\u3001\u679a\u4e3e\u7c7b\u578b\u548c String \u7c7b\u578b\u8fdb\u884c\u7b49\u503c\u5224\u65ad\u3002<\/li>\n<\/ul>\n<p><strong>6.2 \u5206\u6790\u4ee5\u4e0b <code>for<\/code> \u5faa\u73af\u4ee3\u7801\u7684\u6267\u884c\u7ed3\u679c\uff0c\u5e76\u89e3\u91ca\u6267\u884c\u6d41\u7a0b<\/strong><\/p>\n<pre><code class=\"language-java\">for (int i = 0; i &lt; 5; i++) {\n    if (i == 3) {\n        continue;\n    }\n    System.out.println(i);\n}<\/code><\/pre>\n<p><strong>\u7b54\uff1a<\/strong> \u6267\u884c\u7ed3\u679c\u4e3a\u8f93\u51fa 0\u30011\u30012\u30014\u3002<\/p>\n<h1>\u4e03\u3001\u6570\u7ec4<\/h1>\n<p><strong>7.1 \u5982\u4f55\u58f0\u660e\u3001\u521b\u5efa\u548c\u521d\u59cb\u5316\u4e00\u4e2a Java \u6570\u7ec4\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\n<strong>\u58f0\u660e\u6570\u7ec4<\/strong>\u6709\u4e24\u79cd\u65b9\u5f0f\uff0c\u4ee5\u4e00\u7ef4\u6570\u7ec4\u4e3a\u4f8b\uff1a<\/p>\n<ul>\n<li><code>\u6570\u636e\u7c7b\u578b[] \u6570\u7ec4\u540d<\/code>\uff0c\u5982 <code>int[] arr<\/code>\uff1b<\/li>\n<li><code>\u6570\u636e\u7c7b\u578b \u6570\u7ec4\u540d[]<\/code>\uff0c\u5982 <code>int arr[]<\/code>\u3002<\/li>\n<\/ul>\n<p><strong>\u521b\u5efa\u6570\u7ec4<\/strong>\u4f7f\u7528 new \u5173\u952e\u5b57\u3002<br \/>\n\u5982 <code>arr = new int[5];<\/code>\uff0c\u8868\u793a\u521b\u5efa\u4e00\u4e2a\u957f\u5ea6\u4e3a 5 \u7684 int \u578b\u6570\u7ec4\u3002<\/p>\n<p><strong>\u521d\u59cb\u5316\u6570\u7ec4<\/strong>\u6709\u9759\u6001\u548c\u52a8\u6001\u4e24\u79cd\u65b9\u5f0f\u3002<\/p>\n<ul>\n<li>\u9759\u6001\u521d\u59cb\u5316\u5728\u58f0\u660e\u65f6\u76f4\u63a5\u8d4b\u503c\uff0c\u5982 <code>int[] arr = {1, 2, 3, 4, 5};<\/code>\uff1b<\/li>\n<li>\u52a8\u6001\u521d\u59cb\u5316\u5148\u521b\u5efa\u6570\u7ec4\uff0c\u518d\u4e3a\u5143\u7d20\u8d4b\u503c\uff0c\u5982 <code>int[] arr = new int[5]; arr[0] = 1;<\/code>\u3002<\/li>\n<\/ul>\n<p><strong>7.2 \u5982\u4f55\u904d\u5386\u4e00\u4e2a Java \u6570\u7ec4\uff1f\u8bf7\u5217\u4e3e\u81f3\u5c11\u4e24\u79cd\u65b9\u5f0f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\n<strong>\u666e\u901a for \u5faa\u73af\uff1a<\/strong> \u901a\u8fc7\u6570\u7ec4\u7684\u7d22\u5f15\u8bbf\u95ee\u5143\u7d20\uff0c\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-java\">int[] arr = {1, 2, 3};\nfor (int i = 0; i &lt; arr.length; i++) {\n    System.out.println(arr[i]);\n}<\/code><\/pre>\n<p><strong>\u589e\u5f3a for \u5faa\u73af\uff1a<\/strong> \u9002\u7528\u4e8e\u53ea\u9700\u8981\u987a\u5e8f\u8bbf\u95ee\u6570\u7ec4\u5143\u7d20\u7684\u573a\u666f\uff0c\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-java\">int[] arr = {1, 2, 3};\nfor (int num : arr) {\n    System.out.println(num);\n}<\/code><\/pre>\n<p><strong>7.3 Java \u4e2d\u6570\u7ec4\u4f5c\u4e3a\u65b9\u6cd5\u53c2\u6570\u548c\u8fd4\u56de\u503c\u65f6\uff0c\u4f20\u9012\u7684\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\n<strong>\u7b54\uff1a<\/strong><br \/>\nJava \u4e2d\u6570\u7ec4\u4f5c\u4e3a\u65b9\u6cd5\u53c2\u6570\u548c\u8fd4\u56de\u503c\u65f6\uff0c\u4f20\u9012\u7684\u662f\u6570\u7ec4\u7684\u5f15\u7528\uff0c\u800c\u4e0d\u662f\u6570\u7ec4\u672c\u8eab\u3002<br \/>\n\u8fd9\u610f\u5473\u7740\u5728\u65b9\u6cd5\u4e2d\u5bf9\u6570\u7ec4\u5143\u7d20\u7684\u4fee\u6539\u4f1a\u5f71\u54cd\u5230\u539f\u59cb\u6570\u7ec4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,84],"tags":[86,87,85],"class_list":{"0":"post-1237","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-java_base","7":"category-interview","8":"tag-java","10":"tag-85"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840 | \u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2<\/title>\n<meta name=\"description\" content=\"Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tqazy.com\/?p=1237\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840 | \u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tqazy.com\/?p=1237\" \/>\n<meta property=\"og:site_name\" content=\"\u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-24T02:29:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-24T12:23:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oss.tqazy.com\/wordpress\/autoFile\/2024\/05\/20240530090910445.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u9676\u5176\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9676\u5176\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tqazy.com\/?p=1237#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tqazy.com\/?p=1237\"},\"author\":{\"name\":\"\u9676\u5176\",\"@id\":\"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e\"},\"headline\":\"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840\",\"datePublished\":\"2025-02-24T02:29:52+00:00\",\"dateModified\":\"2025-02-24T12:23:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tqazy.com\/?p=1237\"},\"wordCount\":110,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e\"},\"keywords\":[\"Java\",\"Java\u57fa\u7840\",\"\u9762\u8bd5\u516b\u80a1\"],\"articleSection\":[\"Java\u57fa\u7840\",\"\u9762\u8bd5\u516b\u80a1\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.tqazy.com\/?p=1237#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tqazy.com\/?p=1237\",\"url\":\"https:\/\/www.tqazy.com\/?p=1237\",\"name\":\"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840 | \u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"https:\/\/www.tqazy.com\/#website\"},\"datePublished\":\"2025-02-24T02:29:52+00:00\",\"dateModified\":\"2025-02-24T12:23:53+00:00\",\"description\":\"Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tqazy.com\/?p=1237#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tqazy.com\/?p=1237\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tqazy.com\/?p=1237#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.tqazy.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tqazy.com\/#website\",\"url\":\"https:\/\/www.tqazy.com\/\",\"name\":\"\u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2\",\"description\":\"\u5f53\u4e0b\uff0c\u5373\u662f\u672a\u6765\",\"publisher\":{\"@id\":\"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e\"},\"alternateName\":\"TaoQi's Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tqazy.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e\",\"name\":\"\u9676\u5176\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.tqazy.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/oss.tqazy.com\/wordpress\/autoFile\/2024\/06\/20240604021741672.jpg\",\"contentUrl\":\"https:\/\/oss.tqazy.com\/wordpress\/autoFile\/2024\/06\/20240604021741672.jpg\",\"width\":940,\"height\":940,\"caption\":\"\u9676\u5176\"},\"logo\":{\"@id\":\"https:\/\/www.tqazy.com\/#\/schema\/person\/image\/\"},\"description\":\"\u4e00\u4e2a\u5f88\u61d2\u7684\u7a0b\u5e8f\u5458\",\"sameAs\":[\"https:\/\/www.tqazy.com\"],\"url\":\"https:\/\/www.tqazy.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840 | \u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2","description":"Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tqazy.com\/?p=1237","og_locale":"zh_CN","og_type":"article","og_title":"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840 | \u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2","og_description":"Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4","og_url":"https:\/\/www.tqazy.com\/?p=1237","og_site_name":"\u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2","article_published_time":"2025-02-24T02:29:52+00:00","article_modified_time":"2025-02-24T12:23:53+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/oss.tqazy.com\/wordpress\/autoFile\/2024\/05\/20240530090910445.jpg","type":"image\/jpeg"}],"author":"\u9676\u5176","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9676\u5176","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tqazy.com\/?p=1237#article","isPartOf":{"@id":"https:\/\/www.tqazy.com\/?p=1237"},"author":{"name":"\u9676\u5176","@id":"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e"},"headline":"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840","datePublished":"2025-02-24T02:29:52+00:00","dateModified":"2025-02-24T12:23:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tqazy.com\/?p=1237"},"wordCount":110,"commentCount":0,"publisher":{"@id":"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e"},"keywords":["Java","Java\u57fa\u7840","\u9762\u8bd5\u516b\u80a1"],"articleSection":["Java\u57fa\u7840","\u9762\u8bd5\u516b\u80a1"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.tqazy.com\/?p=1237#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.tqazy.com\/?p=1237","url":"https:\/\/www.tqazy.com\/?p=1237","name":"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840 | \u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2","isPartOf":{"@id":"https:\/\/www.tqazy.com\/#website"},"datePublished":"2025-02-24T02:29:52+00:00","dateModified":"2025-02-24T12:23:53+00:00","description":"Java\u7b80\u4ecb\u3001\u6570\u636e\u7c7b\u578b\u3001\u53d8\u91cf\u4e0e\u5e38\u91cf\u3001\u6807\u8bc6\u7b26\u547d\u540d\u89c4\u5219\u3001\u8fd0\u7b97\u7b26\u3001\u5faa\u73af\u8bed\u53e5\u3001\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u3001\u6570\u7ec4","breadcrumb":{"@id":"https:\/\/www.tqazy.com\/?p=1237#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tqazy.com\/?p=1237"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tqazy.com\/?p=1237#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.tqazy.com\/"},{"@type":"ListItem","position":2,"name":"\u9762\u8bd5\u7b14\u8bb001-Java\u57fa\u7840\uff08\u4e00\uff09\uff1aJava\u8bed\u8a00\u57fa\u7840"}]},{"@type":"WebSite","@id":"https:\/\/www.tqazy.com\/#website","url":"https:\/\/www.tqazy.com\/","name":"\u9676\u5176\u7684\u4e2a\u4eba\u535a\u5ba2","description":"\u5f53\u4e0b\uff0c\u5373\u662f\u672a\u6765","publisher":{"@id":"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e"},"alternateName":"TaoQi's Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tqazy.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.tqazy.com\/#\/schema\/person\/b2e89d56e70f15c261012417c5ef2c4e","name":"\u9676\u5176","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.tqazy.com\/#\/schema\/person\/image\/","url":"https:\/\/oss.tqazy.com\/wordpress\/autoFile\/2024\/06\/20240604021741672.jpg","contentUrl":"https:\/\/oss.tqazy.com\/wordpress\/autoFile\/2024\/06\/20240604021741672.jpg","width":940,"height":940,"caption":"\u9676\u5176"},"logo":{"@id":"https:\/\/www.tqazy.com\/#\/schema\/person\/image\/"},"description":"\u4e00\u4e2a\u5f88\u61d2\u7684\u7a0b\u5e8f\u5458","sameAs":["https:\/\/www.tqazy.com"],"url":"https:\/\/www.tqazy.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.tqazy.com\/index.php?rest_route=\/wp\/v2\/posts\/1237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tqazy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tqazy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tqazy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tqazy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1237"}],"version-history":[{"count":12,"href":"https:\/\/www.tqazy.com\/index.php?rest_route=\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":1308,"href":"https:\/\/www.tqazy.com\/index.php?rest_route=\/wp\/v2\/posts\/1237\/revisions\/1308"}],"wp:attachment":[{"href":"https:\/\/www.tqazy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tqazy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tqazy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}