{"id":2248,"date":"2025-03-02T18:31:33","date_gmt":"2025-03-02T10:31:33","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=2248"},"modified":"2025-03-02T18:31:33","modified_gmt":"2025-03-02T10:31:33","slug":"java-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/02\/java-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/","title":{"rendered":"Java \u6570\u636e\u7ed3\u6784"},"content":{"rendered":"\n<p>\u6df1\u5165\u4e86\u89e3 Java \u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\u4e0e\u5e94\u7528\u662f\u7406\u89e3\u9ad8\u6548\u7b97\u6cd5\u548c\u4f18\u5316\u6027\u80fd\u7684\u5173\u952e\u3002\u63a5\u4e0b\u6765\u6ce8\u610f\u770b\u4e00\u4e0b\u5e38\u89c1\u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\u4e0e\u5e94\u7528\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>\u6570\u7ec4\uff08Array\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u6570\u7ec4\u5728 Java \u4e2d\u662f\u4e00\u4e2a\u56fa\u5b9a\u5927\u5c0f\u7684\u5143\u7d20\u96c6\u5408\uff0c\u5143\u7d20\u7684\u7c7b\u578b\u53ef\u4ee5\u662f\u57fa\u672c\u7c7b\u578b\uff08\u5982 <code>int<\/code>\u3001<code>char<\/code> \u7b49\uff09\u6216\u5f15\u7528\u7c7b\u578b\uff08\u5982 <code>String<\/code>\u3001<code>Object<\/code> \u7b49\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int&#91;] arr = new int&#91;5];  \/\/ \u521b\u5efa\u4e00\u4e2a\u5305\u542b 5 \u4e2a\u6574\u6570\u7684\u6570\u7ec4\narr&#91;0] = 10;  \/\/ \u7ed9\u6570\u7ec4\u5143\u7d20\u8d4b\u503c<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7f13\u5b58\u548c\u5b58\u50a8\u56fa\u5b9a\u6570\u636e<\/strong>\uff1a\u5982\u5b58\u50a8\u4e00\u7ec4\u56fa\u5b9a\u6570\u636e\uff0c\u6570\u7ec4\u662f\u6700\u7b80\u5355\u4e14\u9ad8\u6548\u7684\u6570\u636e\u7ed3\u6784\u3002<\/li>\n\n\n\n<li><strong>\u5feb\u901f\u8bbf\u95ee<\/strong>\uff1a\u6570\u7ec4\u5141\u8bb8\u901a\u8fc7\u7d22\u5f15\u76f4\u63a5\u8bbf\u95ee\u5143\u7d20\uff0c\u65f6\u95f4\u590d\u6742\u5ea6\u4e3a O(1)\u3002<\/li>\n\n\n\n<li><strong>\u6392\u5e8f\u548c\u67e5\u627e<\/strong>\uff1a\u8bb8\u591a\u6392\u5e8f\u548c\u67e5\u627e\u7b97\u6cd5\uff08\u5982\u5feb\u901f\u6392\u5e8f\u3001\u4e8c\u5206\u67e5\u627e\uff09\u4f9d\u8d56\u4e8e\u6570\u7ec4\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>\u94fe\u8868\uff08Linked List\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u94fe\u8868\u662f\u7531\u591a\u4e2a\u8282\u70b9\u7ec4\u6210\uff0c\u6bcf\u4e2a\u8282\u70b9\u5305\u542b\u6570\u636e\u548c\u6307\u5411\u4e0b\u4e00\u4e2a\u8282\u70b9\u7684\u6307\u9488\uff08\u6216\u8005\u5f15\u7528\uff09\u3002Java \u4e2d\u6ca1\u6709\u5185\u7f6e\u7684\u94fe\u8868\u7c7b\uff08\u76f4\u5230 <code>java.util.LinkedList<\/code>\uff09\uff0c\u4f46\u5b83\u53ef\u4ee5\u901a\u8fc7\u81ea\u5b9a\u4e49\u7c7b\u6765\u5b9e\u73b0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Node {\n    int data;\n    Node next;\n\n    Node(int data) {\n        this.data = data;\n        this.next = null;\n    }\n}\n\nclass LinkedList {\n    Node head;\n\n    void add(int data) {\n        Node newNode = new Node(data);\n        if (head == null) {\n            head = newNode;\n        } else {\n            Node temp = head;\n            while (temp.next != null) {\n                temp = temp.next;\n            }\n            temp.next = newNode;\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u52a8\u6001\u6570\u636e\u7ed3\u6784<\/strong>\uff1a\u4e0e\u6570\u7ec4\u4e0d\u540c\uff0c\u94fe\u8868\u7684\u5927\u5c0f\u662f\u52a8\u6001\u7684\uff0c\u9002\u7528\u4e8e\u5143\u7d20\u6570\u91cf\u4e0d\u786e\u5b9a\u7684\u60c5\u51b5\u3002<\/li>\n\n\n\n<li><strong>\u5feb\u901f\u63d2\u5165\u548c\u5220\u9664<\/strong>\uff1a\u5728\u94fe\u8868\u4e2d\uff0c\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u76f8\u5bf9\u5feb\u901f\uff0c\u7279\u522b\u662f\u5728\u5934\u90e8\u6216\u4e2d\u95f4\u90e8\u5206\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>\u6808\uff08Stack\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u6808\u9075\u5faa LIFO\uff08\u540e\u8fdb\u5148\u51fa\uff09\u539f\u5219\uff0cJava \u4e2d\u901a\u8fc7 <code>java.util.Stack<\/code> \u6216 <code>Deque<\/code> \u63a5\u53e3\u7684\u5b9e\u73b0\u7c7b\uff08\u5982 <code>ArrayDeque<\/code>\uff09\u6765\u5b9e\u73b0\u6808\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Stack&lt;Integer&gt; stack = new Stack&lt;&gt;();\nstack.push(1);  \/\/ \u5165\u6808\nstack.push(2);\nint top = stack.pop();  \/\/ \u51fa\u6808<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9012\u5f52\u95ee\u9898<\/strong>\uff1a\u6808\u5e38\u7528\u4e8e\u5b58\u50a8\u9012\u5f52\u8c03\u7528\u7684\u8fd4\u56de\u5730\u5740\uff0c\u4e5f\u53ef\u7528\u4e8e\u5b9e\u73b0\u9012\u5f52\u7b97\u6cd5\u3002<\/li>\n\n\n\n<li><strong>\u8868\u8fbe\u5f0f\u8ba1\u7b97<\/strong>\uff1a\u6808\u7528\u4e8e\u540e\u7f00\u8868\u8fbe\u5f0f\uff08\u9006\u6ce2\u5170\u8868\u793a\u6cd5\uff09\u8ba1\u7b97\u3002<\/li>\n\n\n\n<li><strong>\u6df1\u5ea6\u4f18\u5148\u641c\u7d22\uff08DFS\uff09<\/strong>\uff1a\u4f7f\u7528\u6808\u5b9e\u73b0\u56fe\u7684 DFS \u7b97\u6cd5\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. <strong>\u961f\u5217\uff08Queue\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u961f\u5217\u9075\u5faa FIFO\uff08\u5148\u8fdb\u5148\u51fa\uff09\u539f\u5219\u3002Java \u63d0\u4f9b\u4e86 <code>Queue<\/code> \u63a5\u53e3\u548c\u5176\u5b9e\u73b0\u7c7b\uff08\u5982 <code>LinkedList<\/code>\u3001<code>PriorityQueue<\/code>\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Queue&lt;Integer&gt; queue = new LinkedList&lt;&gt;();\nqueue.add(1);  \/\/ \u5165\u961f\nqueue.add(2);\nint first = queue.poll();  \/\/ \u51fa\u961f<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4efb\u52a1\u8c03\u5ea6<\/strong>\uff1a\u5e38\u7528\u4e8e\u4efb\u52a1\u8c03\u5ea6\u3001\u7ebf\u7a0b\u6c60\u3001\u6d88\u606f\u961f\u5217\u7b49\u3002<\/li>\n\n\n\n<li><strong>\u5bbd\u5ea6\u4f18\u5148\u641c\u7d22\uff08BFS\uff09<\/strong>\uff1a\u7528\u4e8e\u56fe\u7684\u5bbd\u5ea6\u4f18\u5148\u641c\u7d22\u3002<\/li>\n\n\n\n<li><strong>\u751f\u4ea7\u8005-\u6d88\u8d39\u8005\u95ee\u9898<\/strong>\uff1a\u901a\u8fc7\u961f\u5217\u5b9e\u73b0\u751f\u4ea7\u8005\u4e0e\u6d88\u8d39\u8005\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. <strong>\u54c8\u5e0c\u8868\uff08Hash Table\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u54c8\u5e0c\u8868\uff08<code>java.util.HashMap<\/code>\uff09\u4f7f\u7528\u54c8\u5e0c\u51fd\u6570\u5c06\u952e\u6620\u5c04\u5230\u6570\u7ec4\u7684\u7d22\u5f15\u4f4d\u7f6e\uff0c\u5e76\u901a\u8fc7\u94fe\u8868\u89e3\u51b3\u54c8\u5e0c\u51b2\u7a81\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HashMap&lt;String, Integer&gt; map = new HashMap&lt;&gt;();\nmap.put(\"apple\", 1);\nmap.put(\"banana\", 2);\nint appleCount = map.get(\"apple\");<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b57\u5178\u5b58\u50a8<\/strong>\uff1a\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\uff08\u4f8b\u5982\uff0c\u7535\u8bdd\u53f7\u7801\u7c3f\u3001\u914d\u7f6e\u7ba1\u7406\uff09\u3002<\/li>\n\n\n\n<li><strong>\u53bb\u91cd<\/strong>\uff1a\u5982\u4f7f\u7528 <code>HashSet<\/code> \u6765\u53bb\u9664\u91cd\u590d\u5143\u7d20\u3002<\/li>\n\n\n\n<li><strong>\u67e5\u627e<\/strong>\uff1a\u54c8\u5e0c\u8868\u652f\u6301\u5e73\u5747 O(1) \u7684\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">6. <strong>\u96c6\u5408\uff08Set\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p><code>Set<\/code> \u662f\u4e0d\u5141\u8bb8\u91cd\u590d\u5143\u7d20\u7684\u96c6\u5408\u3002\u5728 Java \u4e2d\uff0c\u5e38\u89c1\u7684\u5b9e\u73b0\u7c7b\u6709 <code>HashSet<\/code> \u548c <code>TreeSet<\/code>\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Set&lt;Integer&gt; set = new HashSet&lt;&gt;();\nset.add(1);\nset.add(2);\nset.add(2);  \/\/ \u91cd\u590d\u7684\u5143\u7d20\u4f1a\u88ab\u81ea\u52a8\u53bb\u9664<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5143\u7d20\u53bb\u91cd<\/strong>\uff1a\u5982\u4ece\u5217\u8868\u4e2d\u53bb\u91cd\u3002<\/li>\n\n\n\n<li><strong>\u96c6\u5408\u64cd\u4f5c<\/strong>\uff1a\u96c6\u5408\u652f\u6301\u5e76\u96c6\u3001\u4ea4\u96c6\u548c\u5dee\u96c6\u7b49\u64cd\u4f5c\u3002<\/li>\n\n\n\n<li><strong>\u641c\u7d22\u548c\u8fc7\u6ee4<\/strong>\uff1a\u53ef\u4ee5\u7528\u4e8e\u9ad8\u6548\u7684\u5143\u7d20\u641c\u7d22\u548c\u6761\u4ef6\u8fc7\u6ee4\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">7. <strong>\u6620\u5c04\uff08Map\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p><code>Map<\/code> \u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u7684\u6620\u5c04\uff0c\u5e38\u89c1\u5b9e\u73b0\u6709 <code>HashMap<\/code> \u548c <code>TreeMap<\/code>\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Map&lt;String, String&gt; map = new HashMap&lt;&gt;();\nmap.put(\"name\", \"Alice\");\nmap.put(\"age\", \"25\");<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6570\u636e\u5b58\u50a8<\/strong>\uff1a\u5b58\u50a8\u4e00\u5bf9\u4e00\u7684\u6620\u5c04\u5173\u7cfb\uff0c\u4f8b\u5982\u7528\u6237\u540d\u548c\u5bc6\u7801\u3001\u914d\u7f6e\u9879\u548c\u5bf9\u5e94\u503c\u7b49\u3002<\/li>\n\n\n\n<li><strong>\u9891\u7387\u8ba1\u6570<\/strong>\uff1a\u53ef\u4ee5\u7528\u4e8e\u8ba1\u7b97\u67d0\u9879\u6570\u636e\u51fa\u73b0\u7684\u9891\u7387\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">8. <strong>\u6811\uff08Tree\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u6811\u662f\u5c42\u7ea7\u7ed3\u6784\u7684\u6570\u636e\u7ed3\u6784\uff0c\u4e8c\u53c9\u6811\u662f\u6700\u5e38\u89c1\u7684\u4e00\u79cd\u3002Java \u4e2d\uff0c\u4e8c\u53c9\u6811\u901a\u5e38\u7531\u8282\u70b9\u7c7b\u548c\u6811\u7c7b\u5b9e\u73b0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class TreeNode {\n    int value;\n    TreeNode left, right;\n\n    TreeNode(int value) {\n        this.value = value;\n        left = right = null;\n    }\n}\n\nclass BinaryTree {\n    TreeNode root;\n\n    void insert(int value) {\n        root = insertRec(root, value);\n    }\n\n    TreeNode insertRec(TreeNode root, int value) {\n        if (root == null) {\n            root = new TreeNode(value);\n            return root;\n        }\n        if (value &lt; root.value) {\n            root.left = insertRec(root.left, value);\n        } else if (value &gt; root.value) {\n            root.right = insertRec(root.right, value);\n        }\n        return root;\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u641c\u7d22\u64cd\u4f5c<\/strong>\uff1a\u5982\u4e8c\u53c9\u641c\u7d22\u6811\uff08BST\uff09\u7528\u4e8e\u5feb\u901f\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u3002<\/li>\n\n\n\n<li><strong>\u6392\u5e8f<\/strong>\uff1a\u5982\u4f7f\u7528\u5e73\u8861\u6811\uff08\u5982 AVL \u6811\u3001\u7ea2\u9ed1\u6811\uff09\u5b9e\u73b0\u6709\u5e8f\u96c6\u5408\u3002<\/li>\n\n\n\n<li><strong>\u8def\u5f84\u67e5\u627e<\/strong>\uff1a\u6811\u7ed3\u6784\u7528\u4e8e\u8868\u793a\u5c42\u6b21\u5173\u7cfb\uff0c\u5e94\u7528\u4e8e\u6587\u4ef6\u7cfb\u7edf\u3001XML \u89e3\u6790\u7b49\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">9. <strong>\u56fe\uff08Graph\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u56fe\u7531\u8282\u70b9\u548c\u8fb9\u7ec4\u6210\uff0c\u53ef\u4ee5\u901a\u8fc7\u90bb\u63a5\u77e9\u9635\u6216\u90bb\u63a5\u8868\u5b9e\u73b0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Graph {\n    int vertices;\n    LinkedList&lt;Integer&gt; adjList&#91;];\n\n    Graph(int vertices) {\n        this.vertices = vertices;\n        adjList = new LinkedList&#91;vertices];\n        for (int i = 0; i &lt; vertices; i++) {\n            adjList&#91;i] = new LinkedList&lt;&gt;();\n        }\n    }\n\n    void addEdge(int v, int w) {\n        adjList&#91;v].add(w);\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7f51\u7edc\u8def\u7531<\/strong>\uff1a\u56fe\u7528\u4e8e\u8868\u793a\u7f51\u7edc\u62d3\u6251\u7ed3\u6784\u3002<\/li>\n\n\n\n<li><strong>\u6700\u77ed\u8def\u5f84\u95ee\u9898<\/strong>\uff1aDijkstra \u7b97\u6cd5\u3001Bellman-Ford \u7b97\u6cd5\u7b49\u7528\u4e8e\u6c42\u89e3\u6700\u77ed\u8def\u5f84\u95ee\u9898\u3002<\/li>\n\n\n\n<li><strong>\u793e\u4ea4\u7f51\u7edc\u5206\u6790<\/strong>\uff1a\u56fe\u7528\u4e8e\u5efa\u6a21\u7528\u6237\u95f4\u7684\u5173\u7cfb\u548c\u63a8\u8350\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">10. <strong>\u5806\uff08Heap\uff09<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u73b0\uff1a<\/h4>\n\n\n\n<p>\u5806\u901a\u5e38\u901a\u8fc7\u6570\u7ec4\u6765\u5b9e\u73b0\uff0c\u5e76\u7ef4\u62a4\u5806\u7684\u7279\u6027\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PriorityQueue&lt;Integer&gt; pq = new PriorityQueue&lt;&gt;();\npq.add(10);\npq.add(5);\npq.add(20);\nint min = pq.poll();  \/\/ \u83b7\u53d6\u5e76\u79fb\u9664\u6700\u5c0f\u5143\u7d20<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f18\u5148\u961f\u5217<\/strong>\uff1a\u5806\u5e38\u7528\u4e8e\u5b9e\u73b0\u4f18\u5148\u961f\u5217\uff08\u5982\u4efb\u52a1\u8c03\u5ea6\uff09\u3002<\/li>\n\n\n\n<li><strong>\u52a8\u6001\u6392\u5e8f<\/strong>\uff1a\u53ef\u4ee5\u7528\u4e8e\u5b9e\u65f6\u52a8\u6001\u6392\u5e8f\uff0c\u5982\u627e\u51fa\u4e00\u7ec4\u6570\u636e\u4e2d\u7684\u524d K \u4e2a\u6700\u5927\u503c\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u4ee5\u4e0a\u5c31\u662f Java \u6570\u636e\u7ed3\u6784\u7684\u4e00\u4e9b\u57fa\u7840\u5b9e\u73b0\u548c\u5e38\u89c1\u5e94\u7528\uff0c\u5f53\u7136\uff0c\u4e0d\u540c\u6570\u636e\u7ed3\u6784\u7684\u5177\u4f53\u5b9e\u73b0\u548c\u5e94\u7528\u573a\u666f\u662f\u975e\u5e38\u591a\u6837\u7684\u3002\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\uff0c\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6df1\u5165\u4e86\u89e3 Java \u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\u4e0e\u5e94\u7528\u662f\u7406\u89e3\u9ad8\u6548\u7b97\u6cd5\u548c\u4f18\u5316\u6027\u80fd\u7684\u5173\u952e\u3002\u63a5\u4e0b\u6765\u6ce8\u610f\u770b\u4e00\u4e0b\u5e38\u89c1\u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\u4e0e\u5e94 [&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-2248","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2248","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=2248"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2248\/revisions"}],"predecessor-version":[{"id":2249,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2248\/revisions\/2249"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=2248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=2248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=2248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}