{"id":339,"date":"2019-02-11T21:06:43","date_gmt":"2019-02-11T13:06:43","guid":{"rendered":"http:\/\/www.eait.co\/?p=339"},"modified":"2019-04-05T12:34:19","modified_gmt":"2019-04-05T04:34:19","slug":"java-test-%e5%8f%98%e9%87%8f","status":"publish","type":"post","link":"https:\/\/notes.coremix.net\/?p=339","title":{"rendered":"Java Test \u53d8\u91cf"},"content":{"rendered":"<pre>\/**\r\n * Created by xabcd on 2019\/2\/11.\r\n *\/\r\npublic class TestJava4_2\r\n{public static void main(String args[])\r\n{\r\n    int num = 3;\r\n    char ch = 'z';\r\n    System.out.println(num+\"\u662f\u6574\u6570\");\r\n    System.out.println(ch+\"\u662f\u5b57\u7b26\");\r\n}\r\n}\r\n\r\n\r\n\r\n\u7ed3\u679c\uff1a\r\n3\u662f\u6574\u6570\r\nz\u662f\u5b57\u7b26\r\n\r\n\r\n\r\n\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u58f0\u660e \u4e00\u4e2a \u53d8\u91cf \u65f6\uff0c \u7f16\u8bd1\u7a0b\u5e8f \u4f1a\u5728 \u5185\u5b58 \u91cc \u5f00\u8f9f \u4e00\u5757 \u8db3\u4ee5 \u5bb9\u7eb3 \u6b64 \u53d8\u91cf \u7684 \u5185\u5b58 \u7a7a\u95f4 \u7ed9 \u5b83\u3002 \u4e0d\u7ba1 \u53d8\u91cf \u7684 \u503c \u5982\u4f55 \u6539\u53d8\uff0c \u90fd \u6c38\u8fdc \u4f7f\u7528 \u76f8\u540c \u7684 \u5185\u5b58 \u7a7a\u95f4\u3002 \u56e0\u6b64\uff0c \u5584\u7528 \u53d8\u91cf \u662f\u4e00 \u79cd \u8282\u7701 \u5185\u5b58 \u7684 \u65b9\u5f0f\u3002 \u5e38\u91cf \u662f \u4e0d\u540c\u4e8e \u53d8\u91cf \u7684 \u4e00\u79cd \u7c7b\u578b\uff0c \u5b83\u7684 \u503c \u662f \u56fa\u5b9a \u7684\uff0c \u4f8b\u5982\u6574\u6570 \u5e38\u91cf\u3001 \u5b57\u7b26\u4e32 \u5e38\u91cf\u3002 \u901a\u5e38 \u7ed9 \u53d8\u91cf \u8d4b\u503c \u65f6\uff0c \u4f1a \u5c06 \u5e38\u91cf \u8d4b\u503c \u7ed9 \u5b83\u3002 \u5728 \u7a0b\u5e8f TestJava 3_ 1 \u4e2d\uff0c \u7b2c 6 \u884c num \u662f \u6574\u578b \u53d8\u91cf\uff0c \u800c 3 \u5219\u662f \u5e38\u91cf\u3002 \u6b64\u884c \u7684 \u4f5c\u7528 \u662f \u58f0\u660e num \u4e3a\u6574 \u578b \u53d8\u91cf\uff0c \u5e76\u628a \u5e38\u91cf 3 \u8fd9\u4e2a \u503c \u8d4b \u7ed9 \u5b83\u3002 \u4e0e\u6b64 \u76f8\u540c\uff0c \u7b2c 7 \u884c \u58f0\u660e \u4e86 \u4e00\u4e2a \u5b57\u7b26 \u53d8\u91cf ch\uff0c \u5e76\u5c06 \u5b57\u7b26 \u5e38\u91cf\u201c z\u201d \u8d4b \u7ed9 \u5b83\u3002 \u5f53\u7136\uff0c \u5728 \u7a0b\u5e8f \u7f16\u5199 \u7684 \u8fc7\u7a0b\u4e2d\uff0c \u53ef\u4ee5 \u4e3a \u53d8\u91cf \u91cd\u65b0 \u8d4b\u503c\uff0c \u4e5f\u53ef\u4ee5 \u4f7f\u7528 \u5df2\u7ecf \u58f0\u660e \u8fc7 \u7684 \u53d8\u91cf\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/** * Created by xabcd on 2019\/2\/11. *\/ public class Te [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,24],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-java","category-base_code"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":3,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":342,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions\/342"}],"wp:attachment":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}