{"id":150,"date":"2015-04-10T14:32:06","date_gmt":"2015-04-10T06:32:06","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=150"},"modified":"2026-08-18T12:09:28","modified_gmt":"2026-08-18T04:09:28","slug":"%e9%9d%a2%e5%90%91%e5%af%b9%e8%b1%a1%e7%9a%84%e6%80%9d%e7%bb%b4%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=150","title":{"rendered":"\u9762\u5411\u5bf9\u8c61\u7684\u601d\u7ef4\u65b9\u6cd5"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\">\u4ece\u5b66 Java \u624d\u771f\u6b63\u78b0\u5230 OOP\u3002\u4e60\u60ef\u7528 C \u7684\u4eba\uff0c\u5f80\u5f80\u4f1a\u5acc Java \u6162\u3001\u4ee3\u7801\u957f\u3001\u4e00\u4ef6\u5c0f\u4e8b\u8981\u62c6\u597d\u591a\u7c7b\u3002\u62b5\u89e6\u5f88\u6b63\u5e38\uff1b\u771f\u6b63\u522b\u626d\u7684\uff0c\u662f<strong style=\"color: #4870ac;\">\u4e0d\u77e5\u9053\u8be5\u600e\u4e48\u63d0\u70bc\u7c7b<\/strong>\uff0c\u4e00\u4e0d\u5c0f\u5fc3\u53c8\u6ed1\u56de\u8fc7\u7a0b\u5f0f\u601d\u8def\u3002<\/p>\n<p><!--more--><\/p>\n<p style=\"margin: 1em 0px;\">\u9762\u5411\u5bf9\u8c61\u7684\u7cbe\u9ad3\uff0c\u662f\u4ece\u73b0\u5b9e\u4e16\u754c\u7684\u4eba\u7c7b\u601d\u7ef4\u4e60\u60ef\u51fa\u53d1\uff1a\u5148\u8c08\u4e1a\u52a1\u8981\u4ec0\u4e48\uff0c\u518d\u7ffb\u8bd1\u6210\u7a0b\u5e8f\u80fd\u61c2\u7684\u7ed3\u6784\u3002\u5c01\u88c5\u7684\u662f\u4e1a\u52a1\u903b\u8f91\uff0c\u4e0d\u662f select \u8bed\u53e5\u3002<\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u601d\u8def<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u600e\u4e48\u5207<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u95ee\u9898<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u81ea\u5e95\u5411\u4e0a\uff08\u673a\u5668\u89c6\u89d2\uff09<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u6309\u8bfb\u5e93\u3001\u7f16\u7801\u3001\u89e3\u6790\u53c2\u6570\u62c6\u6a21\u5757<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u7c7b\u8ddf\u7740\u5b9e\u73b0\u7ec6\u8282\u8d70\uff0c\u6362 C \u5199\u4e24\u4e2a\u51fd\u6570\u66f4\u6e05\u695a<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u81ea\u4e0a\u800c\u4e0b\uff08\u4e1a\u52a1\u89c6\u89d2\uff09<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u5148\u6709\u8ba1\u6570\u5668\u3001\u90ae\u4ef6\u8fd9\u4e9b\u201c\u4e1c\u897f\u201d\u548c\u5b83\u4eec\u4f1a\u505a\u7684\u4e8b<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8fc7\u65e9\u60f3 JDBC \/ Vector\uff0c\u53c8\u4f1a\u6389\u56de\u5b9e\u73b0\u9a71\u52a8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001\u53d1\u5e7f\u544a\u90ae\u4ef6\uff1a\u522b\u6309\u7a0b\u5e8f\u5458\u7684\u624b\u62c6\u7c7b<\/h2>\n<p style=\"margin: 1em 0px;\">\u90ae\u4ef6\u5217\u8868\u5728\u6570\u636e\u5e93\u91cc\u3002\u7528 C \u4f1a\u60f3\uff1a\u8bfb\u90ae\u4ef6\u5185\u5bb9 \u2192 \u8fde\u5e93\u5faa\u73af\u53d6\u5730\u5740 \u2192 \u8c03\u672c\u673a qmail \u7684 sendmail\u3002\u6539\u7528 Java \u540e\uff0c\u6015\u5168\u585e\u8fdb main\uff0c\u4e8e\u662f\u62c6\u4e09\u4e2a\u7c7b\uff1a\u4e00\u4e2a\u8bfb\u5e93\u5e76\u53d1\u9001\uff0c\u4e00\u4e2a\u8bfb\u5185\u5bb9\u505a MIME\uff0c\u4e00\u4e2a\u4e3b\u7c7b\u89e3\u6790\u547d\u4ee4\u884c\u3002\u8fd9\u662f\u6309<strong style=\"color: #4870ac;\">\u5b9e\u73b0\u6b65\u9aa4<\/strong>\u81ea\u5e95\u5411\u4e0a\u5207\u7684\uff0c\u8bbe\u8ba1\u65f6\u5df2\u7ecf\u628a\u5e95\u5c42\u7ec6\u8282\u60f3\u5b8c\u4e86\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u4ece\u4e1a\u52a1\u770b\uff0c\u4e00\u5c01\u90ae\u4ef6\u6709\u5934\u3001\u4f53\u3001\u5730\u5740\uff1b\u8981\u80fd\u53d1\u9001\uff0c\u8fd8\u8981\u80fd\u5217\u51fa\u6240\u6709\u5730\u5740\u3002\u7c7b\u5e94\u8be5\u662f JunkMail\uff0c\u800c\u4e0d\u662f\u201c\u8bfb\u5e93\u7c7b \/ \u7f16\u7801\u7c7b \/ \u53c2\u6570\u7c7b\u201d\u3002<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">public class JunkMail {\n    private String head;\n    private String body;\n    private String address;\n\n    public JunkMail() {\n        \/\/ \u4ece\u5916\u90e8\u914d\u7f6e\u6587\u4ef6\u8bfb\u90ae\u4ef6\u5934\u548c\u90ae\u4ef6\u4f53\n        this.head = ...;\n        this.body = ...;\n    }\n\n    public static boolean sendMail(String address) {\n        \/\/ \u8c03\u7528 qmail\uff0c\u53d1\u9001 email\n        return true;\n    }\n\n    public static Collection listAllMail() {\n        \/\/ \u8bbf\u95ee\u6570\u636e\u5e93\uff0c\u8fd4\u56de\u4e00\u4e2a\u90ae\u4ef6\u5730\u5740\u96c6\u5408\n        return null;\n    }\n}<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\uff08\u539f\u6587\u6784\u9020\u65b9\u6cd5\u8bef\u5199\u6210 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">JunkMain<\/code>\uff0c\u8fd9\u91cc\u6309\u7c7b\u540d\u6539\u56de <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">JunkMail<\/code>\u3002\uff09\u7c7b\u8bbe\u8ba1\u597d\u4e86\uff0c\u8c03\u7528\u53d1\u9001\u4f1a\u8f7b\u677e\u5f88\u591a\u3002qmail\u3001JDBC \u662f\u65b9\u6cd5\u4f53\u91cc\u7684\u4e8b\uff0c\u4e0d\u662f\u7c7b\u7684\u5207\u5206\u4f9d\u636e\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001\u7f51\u9875\u8ba1\u6570\u5668\uff1a\u4ece\u9700\u6c42\u5012\u63a8\u63a5\u53e3<\/h2>\n<p style=\"margin: 1em 0px;\">\u8bbf\u95ee <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">http:\/\/hostname\/count.cgi?id=xxx<\/code>\uff0c\u540e\u53f0\u8868\u91cc\u6bcf\u4e2a id \u5bf9\u5e94\u4e00\u4e2a\u8ba1\u6570\u503c\uff08\u8fd9\u91cc\u5ffd\u7565\u5e76\u53d1\u9501\u8868\uff09\u3002\u8fc7\u7a0b\u5f0f\u4f1a\u60f3\uff1a\u4ece HTTP GET \u53d6 id \u2192 \u67e5\u8868 \u2192 \u52a0 1 \u2192 \u66f4\u65b0 \u2192 \u663e\u793a\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u6ca1\u6709\u7f16\u7a0b\u7ecf\u9a8c\u7684\u4eba\u4f1a\u8bf4\uff1a\u6211\u8981\u4e00\u4e2a\u8ba1\u6570\u5668\uff0c\u5237\u65b0\u9875\u9762\u52a0 1\uff0c\u6700\u597d\u80fd\u6e05 0\uff0c\u518d\u80fd\u8bbe\u6210\u4efb\u610f\u503c\u5c31\u53ef\u4ee5\u201c\u4f5c\u5f0a\u201d\u3002\u4ed6\u4e0d\u4f1a\u5148\u60f3\u6570\u636e\u5e93\u548c HTTP \u53d8\u91cf\u3002\u6309\u8fd9\u4e2a\u4e60\u60ef\uff0c\u9700\u8981\u4e00\u4e2a Counter \u7c7b\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">public class Counter {\n    public int getCount(int id) {}\n    public void resetCounter(int id) {}\n    public void setCount(int id, int currentCount) {}\n}\n\n\/\/ \u5728 count.cgi \u91cc\u8c03\u7528\nCounter myCounter = new Counter();\nint currentCount = myCounter.getCount(id);<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u6846\u67b6\u5148\u6709\u4e86\uff0c<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">getCount()<\/code> \u91cc\u518d\u53bb\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5b66\u4e60 JDBC \u65f6\u6700\u5bb9\u6613\u95ee\u9519\u7684\u662f\uff1a\u201c\u6211\u600e\u6837\u5c01\u88c5\u5bf9\u6570\u636e\u5e93\u7684 select\uff1f\u201d\u2014\u2014\u8bbe\u8ba1\u9636\u6bb5\u5c01\u88c5\u7684\u662f\u4e1a\u52a1\uff0c\u8bfb\u5e93\u662f\u7f16\u7801\u5b9e\u73b0\u9636\u6bb5\u7684\u4e8b\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001\u7528\u6237\u5217\u8868\uff1a\u8fd4\u56de\u63a5\u53e3\u800c\u4e0d\u662f Vector<\/h2>\n<p style=\"margin: 1em 0px;\">Web \u91cc\u5e38\u8981\u5206\u9875\u5217\u51fa\u6240\u6709\u7528\u6237\u3002User \u6709 addUser\u3001deleteUser\u3001listUsers\u3002\u589e\u5220\u5bf9\u5e94 insert \/ delete \u5f88\u597d\u529e\uff1blistUsers \u672c\u8d28\u662f select \u51fa\u4e00\u4e2a\u8bb0\u5f55\u96c6\u3002\u65b9\u6cd5\u53ea\u80fd\u6709\u4e00\u4e2a\u8fd4\u56de\u503c\uff0c\u4e8e\u662f\u5f88\u591a\u4eba\u8fd4\u56de Vector\uff0c\u5728\u65b9\u6cd5\u91cc\u628a\u8bb0\u5f55\u4e00\u6761\u6761\u585e\u8fdb\u53bb\u3002\u4e3b\u7a0b\u5e8f\u518d\u904d\u5386 Vector\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u8fd9\u6837\u5df2\u7ecf\u80fd\u7528\uff0c\u4f46\u8bbe\u8ba1\u65f6\u5c31\u7ed1\u6b7b\u4e86 Java \u7684\u96c6\u5408\u7c7b\uff0c\u8fdd\u53cd\u201c\u8bbe\u8ba1\u9636\u6bb5\u4e0d\u8fc7\u65e9\u8003\u8651\u5177\u4f53\u8bed\u8a00\u5b9e\u73b0\u201d\u3002\u5bf9\u96c6\u5408\u904d\u5386\uff0c\u62bd\u8c61\u6210 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">hasNext<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">next<\/code> \u66f4\u7a33\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">public interface Iterator {\n    public boolean hasNext();\n    public Object next();\n}\n\npublic class User {\n    public static void addUser(...) { \/* insert *\/ }\n    public static void deleteUser(...) { \/* delete *\/ }\n    public Iterator listUsers() { \/* \u8fd4\u56de\u4efb\u610f\u5b9e\u73b0\u4e86 Iterator \u7684\u5bf9\u8c61 *\/ }\n}\n\nUser myUser = new User();\nIterator iterator = myUser.listUsers();\nwhile (iterator.hasNext()) {\n    iterator.next();\n}<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u4efb\u4f55\u5b9e\u73b0\u4e86 next \/ hasNext \u7684\u7c7b\u90fd\u80fd\u8868\u8fbe\u201c\u7528\u6237\u5217\u8868\u201d\uff0c\u4e0d\u5fc5\u7ed1\u6b7b Vector\uff1bArrayList \u53ef\u4ee5\uff0c\u81ea\u5df1\u5199\u4e00\u4e2a\u7c7b\u4e5f\u53ef\u4ee5\u3002\u8026\u5408\u5ea6\u4e0b\u6765\uff0c\u5b9e\u73b0\u9636\u6bb5\u624d\u6709\u6700\u5927\u7075\u6d3b\u6027\u3002JunkMail \u7684 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">listAllMail()<\/code> \u540c\u6837\u5e94\u8be5\u6539\u6210\u63a5\u53e3\u7c7b\u578b\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u56db\u3001\u81ea\u4e0a\u800c\u4e0b\uff0c\u5148\u4e3b\u540e\u6b21<\/h2>\n<p style=\"margin: 1em 0px;\">\u8fc7\u7a0b\u5f0f\u7b26\u5408\u673a\u5668\u8dd1\u6307\u4ee4\u7684\u6d41\u7a0b\uff1b\u9762\u5411\u5bf9\u8c61\u7b26\u5408\u4eba\u89e3\u51b3\u95ee\u9898\u7684\u8fc7\u7a0b\uff1a\u5148\u628a\u4e3b\u8981\u77db\u76fe\u6536\u6210\u7b80\u5355\u6846\u67b6\uff0c\u518d\u628a\u7ec6\u8282\u62c6\u6210\u5c0f\u95ee\u9898\u3002\u8bbe\u8ba1\u65f6\u5fc3\u91cc\u5e38\u62c5\u5fc3\u201c\u4e0d\u8003\u8651\u4ee3\u7801\uff0c\u600e\u4e48\u77e5\u9053\u7c7b\u4e00\u5b9a\u80fd\u5b9e\u73b0\u201d\uff0c\u4e8e\u662f\u6bcf\u8bbe\u8ba1\u4e00\u4e2a\u63a5\u53e3\u90fd\u7528\u719f\u6089\u7684\u8bed\u8a00\u9ed8\u9ed8\u8bc4\u4f30\u4e00\u904d\u2014\u2014\u4e00\u4e0d\u5c0f\u5fc3\u53c8\u56de\u5230\u6309\u7a0b\u5e8f\u529f\u80fd\u5207\u7c7b\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u6293\u4f4f\u8fd9\u4e00\u70b9\uff0c\u8bbe\u8ba1\u548c\u7f16\u7801\u4f1a\u4e0d\u90a3\u4e48\u67af\u71e5\uff1b\u5408\u7406\u8fd0\u7528\u9762\u5411\u5bf9\u8c61\u7684\u8f6f\u4ef6\uff0c\u4f1a\u5e26\u4e00\u70b9\u601d\u7ef4\u4e0a\u7684\u5e72\u51c0\u3002\u8f6f\u4ef6\u53ea\u662f\u8f7d\u4f53\uff0c\u4e1a\u52a1\u624d\u662f\u76ee\u6807\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a\u5148\u6309\u4eba\u7c7b\u4e1a\u52a1\u4e60\u60ef\u62bd\u8c61\u7c7b\u548c\u63a5\u53e3\uff0c\u518d\u5728\u65b9\u6cd5\u4f53\u91cc\u5199 JDBC \u548c\u96c6\u5408\uff1b\u5207\u7c7b\u6309\u201c\u6709\u4ec0\u4e48\u3001\u80fd\u5e72\u4ec0\u4e48\u201d\uff0c\u4e0d\u8981\u6309\u201c\u5148\u8bfb\u5e93\u518d\u53d1\u4fe1\u201d\u7684\u5b9e\u73b0\u6b65\u9aa4\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u5b66 Java \u624d\u771f\u6b63\u78b0\u5230 OOP\u3002\u4e60\u60ef\u7528 C \u7684\u4eba\uff0c\u5f80\u5f80\u4f1a\u5acc Java \u6162\u3001\u4ee3\u7801\u957f\u3001\u4e00\u4ef6\u5c0f\u4e8b\u8981\u62c6\u597d\u591a\u7c7b\u3002\u62b5\u89e6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[43],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/150"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=150"}],"version-history":[{"count":3,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions\/384"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}