{"id":263721,"date":"2015-08-17T18:11:02","date_gmt":"2015-08-17T14:11:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=263721"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=263721","title":{"rendered":"Java \u0431\u0430\u0439\u0442\u043a\u043e\u0434 \u00abHello world\u00bb"},"content":{"rendered":"<p>     \t\u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e <a href=\"http:\/\/habrahabr.ru\/post\/111456\/\">java \u0431\u0430\u0439\u0442\u043a\u043e\u0434<\/a>. \u042f \u0440\u0435\u0448\u0438\u043b \u0435\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438 \u0432 \u043c\u0435\u0440\u0443 \u0441\u0438\u043b \u0440\u0430\u0437\u0432\u0438\u0442\u044c \u0442\u0435\u043c\u0443. \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Java. \u0410 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0449\u0435 \u00abHello world\u00bb?<br \/>  \u0414\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e src, \u043a\u0443\u0434\u0430 \u0432 \u043f\u0430\u043f\u043a\u0443 hello \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u0444\u0430\u0439\u043b App.java:<\/p>\n<pre><code class=\"java\">package hello;  public class App {      public static void main(String[] args) {         System.out.println(&quot;Hello world!&quot;);     }  } <\/code><\/pre>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0421\u043a\u043e\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<p>  <b>javac src\/hello\/App.java -d classes\/<\/b><\/p>\n<p>  \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0432 \u043f\u0430\u043f\u043a\u0435 classes \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0444\u0430\u0439\u043b App.class \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u044b java \u0438 class \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p>  App.java 139B<br \/>  App.class 418B<\/p>\n<p>  \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e. \u041c\u043d\u0435 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435. \u041f\u043e\u043f\u044b\u0442\u0430\u044e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c class \u0444\u0430\u0439\u043b:<\/p>\n<p>  <b>hexdump App.class<\/b><\/p>\n<pre><code class=\"bash\">0000000 ca fe ba be 00 00 00 34 00 1d 0a 00 06 00 0f 09 0000010 00 10 00 11 08 00 12 0a 00 13 00 14 07 00 15 07 0000020 00 16 01 00 06 3c 69 6e 69 74 3e 01 00 03 28 29 0000030 56 01 00 04 43 6f 64 65 01 00 0f 4c 69 6e 65 4e 0000040 75 6d 62 65 72 54 61 62 6c 65 01 00 04 6d 61 69 0000050 6e 01 00 16 28 5b 4c 6a 61 76 61 2f 6c 61 6e 67 0000060 2f 53 74 72 69 6e 67 3b 29 56 01 00 0a 53 6f 75 0000070 72 63 65 46 69 6c 65 01 00 08 41 70 70 2e 6a 61 0000080 76 61 0c 00 07 00 08 07 00 17 0c 00 18 00 19 01 0000090 00 0c 48 65 6c 6c 6f 20 77 6f 72 6c 64 21 07 00 00000a0 1a 0c 00 1b 00 1c 01 00 09 68 65 6c 6c 6f 2f 41 00000b0 70 70 01 00 10 6a 61 76 61 2f 6c 61 6e 67 2f 4f 00000c0 62 6a 65 63 74 01 00 10 6a 61 76 61 2f 6c 61 6e 00000d0 67 2f 53 79 73 74 65 6d 01 00 03 6f 75 74 01 00 00000e0 15 4c 6a 61 76 61 2f 69 6f 2f 50 72 69 6e 74 53 00000f0 74 72 65 61 6d 3b 01 00 13 6a 61 76 61 2f 69 6f 0000100 2f 50 72 69 6e 74 53 74 72 65 61 6d 01 00 07 70 0000110 72 69 6e 74 6c 6e 01 00 15 28 4c 6a 61 76 61 2f 0000120 6c 61 6e 67 2f 53 74 72 69 6e 67 3b 29 56 00 21 0000130 00 05 00 06 00 00 00 00 00 02 00 01 00 07 00 08 0000140 00 01 00 09 00 00 00 1d 00 01 00 01 00 00 00 05 0000150 2a b7 00 01 b1 00 00 00 01 00 0a 00 00 00 06 00 0000160 01 00 00 00 03 00 09 00 0b 00 0c 00 01 00 09 00 0000170 00 00 25 00 02 00 01 00 00 00 09 b2 00 02 12 03 0000180 b6 00 04 b1 00 00 00 01 00 0a 00 00 00 0a 00 02 0000190 00 00 00 06 00 08 00 07 00 01 00 0d 00 00 00 02 00001a0 00 0e 00001a2 <\/code><\/pre>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 \u0432\u0438\u0434 \u0434\u043b\u044f Java \u043a\u043e\u0434\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 <a href=\"https:\/\/docs.oracle.com\/javase\/specs\/jvms\/se8\/html\/jvms-4.htm\">\u0444\u043e\u0440\u043c\u0430\u0442\u0430 class \u0444\u0430\u0439\u043b\u043e\u0432<\/a> \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043e. <\/p>\n<pre><code class=\"bash\">ca fe ba be  <\/code><\/pre>\n<p>  \u042d\u0442\u043e 4 \u0431\u0430\u0439\u0442\u0430 \u0434\u043b\u044f magic, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<pre><code class=\"bash\">00 00  <\/code><\/pre>\n<p>  minor version \u2014 \u041c\u0438\u043d\u043e\u0440\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0437 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f<\/p>\n<pre><code class=\"bash\">00 34  <\/code><\/pre>\n<p>  major version \u2014 2 \u0431\u0430\u0439\u0442\u0430 \u043f\u043e\u0434 \u043c\u0430\u0436\u043e\u0440\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e. <br \/>  \u0421\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 minor \u0438 major version \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u044f \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e J2SE 8.<\/p>\n<pre><code class=\"bash\">00 1d  <\/code><\/pre>\n<p>  \u042d\u0442\u0438 \u0434\u0432\u0430 \u0431\u0430\u0439\u0442\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 constant_pool_count \u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0437\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 constant_pool. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 count \u0440\u0430\u0432\u0435\u043d 29, \u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0443\u043b\u0430, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e 28. \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0443\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432\u0438\u0434\u0430: <\/p>\n<p>  cp_info {<br \/>   u1 tag; \/\/ 1 \u0431\u0430\u0439\u0442 \u043d\u0430 \u0442\u0435\u0433<br \/>   u1 info[]; \/\/ \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c<br \/>  }<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 constant_pool.<\/p>\n<p>  <b>1-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><\/p>\n<pre><code class=\"bash\">0a  <\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u0442\u0435\u0433 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 CONSTANT_Methodref, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0434\u0430\u043b\u044c\u0448\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435:<\/p>\n<p>  CONSTANT_Methodref_info {<br \/>   u1 tag;<br \/>   u2 class_index;<br \/>   u2 name_and_type_index;<br \/>  }<br \/>  \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e:  <\/p>\n<pre><code class=\"bash\">00 06  <\/code><\/pre>\n<p>  class_index, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 6 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 constant_pool  <\/p>\n<pre><code class=\"bash\">00 0f  <\/code><\/pre>\n<p>  name_and_type_index, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 15 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 constant_pool<\/p>\n<p>  \u041f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u044d\u0442\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u0438 \u043c\u044b \u0438\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435:<\/p>\n<p>  <b>2-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><\/p>\n<pre><code class=\"bash\">09  <\/code><\/pre>\n<p>  \u042d\u0442\u043e CONSTANT_Fieldref, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0449\u0435\u043c:<\/p>\n<p>  CONSTANT_Fieldref_info {<br \/>   u1 tag;<br \/>   u2 class_index;<br \/>   u2 name_and_type_index;<br \/>  }<\/p>\n<p>  \u0418 \u0442\u0443\u0442 \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442, \u0445\u043e\u0442\u044f \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u044d\u0442\u043e \u0437\u0430 \u043f\u043e\u043b\u0435, \u0432 \u0441\u0432\u043e\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u044f \u0432\u0440\u043e\u0434\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u043b.  <\/p>\n<pre><code class=\"bash\">00 10  <\/code><\/pre>\n<p>  class_index \u0432 16 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435  <\/p>\n<pre><code class=\"bash\">00 11  <\/code><\/pre>\n<p>  name_and_type_index \u0432 17 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435<\/p>\n<p>  <b>3-\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b>  <\/p>\n<pre><code class=\"bash\">08 <\/code><\/pre>\n<p>  tag \u0434\u043b\u044f CONSTANT_String <\/p>\n<p>  \u0418 \u043f\u043e:<\/p>\n<pre><code>CONSTANT_String_info {     u1 tag;     u2 string_index; } <\/code><\/pre>\n<p>  \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c, \u0447\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u043b\u0435\u0436\u0438\u0442 \u0432 18 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435:   <\/p>\n<pre><code class=\"bash\">00 12  <\/code><\/pre>\n<p>  <b>4-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b>  <\/p>\n<pre><code class=\"bash\">0a  <\/code><\/pre>\n<p>  Tag \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0430 \u043c\u0435\u0442\u043e\u0434: <br \/>  \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d \u0432 19 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435  <\/p>\n<pre><code class=\"bash\">00 13   <\/code><\/pre>\n<p>  a \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438 \u0442\u0438\u043f \u0432 20 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435:  <\/p>\n<pre><code class=\"bash\">00 14   <\/code><\/pre>\n<p>  <b>5-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  Tag \u0434\u043b\u044f CONSTANT_Class   <\/p>\n<pre><code class=\"bash\">07  <\/code><\/pre>\n<p>  \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432 21 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435  <\/p>\n<pre><code class=\"bash\">00 15  <\/code><\/pre>\n<p>  <b>6-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  C\u043d\u043e\u0432\u0430 CONSTANT_Class  <\/p>\n<pre><code class=\"bash\">07  <\/code><\/pre>\n<p>  c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0432 22 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435   <\/p>\n<pre><code class=\"bash\">00 16 <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u043c\u044b \u043f\u043e\u043c\u043d\u0438\u043c 1-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 constant_pool \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043a\u043b\u0430\u0441\u0441\u0443.<\/p>\n<p>  <b>7-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  tag, CONSTANT_Utf8, \u043f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0430   <\/p>\n<pre><code class=\"bash\">01  <\/code><\/pre>\n<p>  \u041e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c:<\/p>\n<p>  CONSTANT_Utf8_info {<br \/>   u1 tag;<br \/>   u2 length;<br \/>   u1 bytes[length];<br \/>  }<\/p>\n<p>  \u0422\u043e\u0433\u0434\u0430 \u0434\u043b\u0438\u043d\u0430 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 6 \u0431\u0430\u0439\u0442:  <\/p>\n<pre><code class=\"bash\">00 06  <\/code><\/pre>\n<p>  \u0410 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 &quot;&lt;init&gt;&quot;:  <\/p>\n<pre><code class=\"bash\">3c 69 6e 69 74 3e  <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435, \u0442\u0430\u043a \u043f\u043e\u043c\u0435\u0447\u0430\u044e\u0442\u0441\u044f <a href=\"https:\/\/docs.oracle.com\/javase\/specs\/jvms\/se7\/html\/jvms-2.html#jvms-2.9\">\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u044b<\/a>. <\/p>\n<p>  <b>8-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><\/p>\n<p>  CONSTANT_Utf8  <\/p>\n<pre><code class=\"bash\">01  <\/code><\/pre>\n<p>  \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u0434\u043b\u0438\u043d\u044b 3 \u2014 &quot;()V&quot;: <\/p>\n<pre><code class=\"bash\">00 03  28 29 56 <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442 \u0432 \u0441\u0435\u0434\u044c\u043c\u043e\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435.<\/p>\n<p>  <b>9-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  CONSTANT_Utf8  <\/p>\n<pre><code class=\"bash\">01  <\/code><\/pre>\n<p>  \u0421\u0442\u0440\u043e\u043a\u0430 \u00abCode\u00bb:<\/p>\n<pre><code class=\"bash\">00 04  43 6f 64 65  <\/code><\/pre>\n<p>  <b>10-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u0421\u0442\u0440\u043e\u043a\u0430 LineNumberTable  <\/p>\n<pre><code class=\"bash\">01  00 0f  4c 69 6e 65 4e 75 6d 62 65 72 54 61 62 6c 65 <\/code><\/pre>\n<p>  <b>11-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442<\/b><br \/>  \u00abmain\u00bb:  <\/p>\n<pre><code class=\"bash\">01  00 04  6d 61 69 6e  <\/code><\/pre>\n<p>  <b>12-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442<\/b><br \/>  &quot;([Ljava\/lang\/String;)V&quot;  <\/p>\n<pre><code class=\"bash\">01  00 16  28 5b 4c 6a 61 76 61 2f 6c 61 6e 67 2f 53 74 72 69 6e 67 3b 29 56  <\/code><\/pre>\n<p>  <b>13-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442<\/b><br \/>  \u00abSourceFile\u00bb  <\/p>\n<pre><code class=\"bash\">01  00 0a  53 6f 75 72 63 65 46 69 6c 65  <\/code><\/pre>\n<p>  <b>14-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442<\/b><br \/>  \u00abApp.java\u00bb:  <\/p>\n<pre><code class=\"bash\">01  00 08  41 70 70 2e 6a 61 76 61  <\/code><\/pre>\n<p>  <b>15-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442<\/b><br \/>  Tag, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 CONSTANT_NameAndType  <\/p>\n<pre><code class=\"bash\">0c   <\/code><\/pre>\n<p>  \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f <\/p>\n<p>  CONSTANT_NameAndType_info {<br \/>   u1 tag;<br \/>   u2 name_index;<br \/>   u2 descriptor_index;<br \/>  } <\/p>\n<p>  \u0438 \u0442\u043e\u0433\u0434\u0430:<br \/>  \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 7 \u044d\u043b\u0435\u043c\u0435\u043d\u0442  <\/p>\n<pre><code class=\"bash\">00 07  <\/code><\/pre>\n<p>  cc\u044b\u043b\u043a\u0430 \u043d\u0430 8 \u044d\u043b\u0435\u043c\u0435\u043d\u0442  <\/p>\n<pre><code class=\"bash\">00 08   <\/code><\/pre>\n<p>  \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u0441\u044b\u043b\u0430\u043b\u0441\u044f \u043d\u0430 \u044d\u0442\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u0431\u044b\u043b \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0439\u0442\u0438 \u0432 22 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435.<\/p>\n<p>  <b>16-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  Tag, \u0434\u043b\u044f CONSTANT_Class   <\/p>\n<pre><code class=\"bash\">07  <\/code><\/pre>\n<p>  c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0432 23 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435  <\/p>\n<pre><code class=\"bash\">00 17 <\/code><\/pre>\n<p>  <b>17-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  Tag, CONSTANT_NameAndType, \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u043d\u0430 24 \u0438 25 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 constant_pool  <\/p>\n<pre><code class=\"bash\">0c   00 18  00 19  <\/code><\/pre>\n<p>  <b>18-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u0423\u0440\u0430 \u00abHello world!\u00bb  <\/p>\n<pre><code class=\"bash\">01 00 0c  48 65 6c 6c 6f 20 77 6f 72 6c 64 21  <\/code><\/pre>\n<p>  <b>19-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  Tag, \u0434\u043b\u044f CONSTANT_class c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0432 25-\u043e\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435  <\/p>\n<pre><code class=\"bash\">07  00 1a  <\/code><\/pre>\n<p>  <b>20-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  Tag CONSTANT_NameAndType c\u043e \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u043d\u0430 27 \u0438 28 \u044d\u043b\u0435\u043c\u0435\u043d\u0442  <\/p>\n<pre><code class=\"bash\">0c  00 1b  00 1c  <\/code><\/pre>\n<p>  <b>21-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00abhello\/App\u00bb  <\/p>\n<pre><code class=\"bash\">01  00 09  68 65 6c 6c 6f 2f 41 70 70  <\/code><\/pre>\n<p>  <b>22-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00abjava\/lang\/Object\u00bb  <\/p>\n<pre><code class=\"bash\">01  00 10  6a 61 76 61 2f 6c 61 6e 67 2f 4f 62 6a 65 63 74 <\/code><\/pre>\n<p>  <b>23-\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00abjava\/lang\/System\u00bb  <\/p>\n<pre><code class=\"bash\">01 00 10 6a 61 76 61 2f 6c 61 6e 67 2f 53 79 73 74 65 6d  <\/code><\/pre>\n<p>  <b>24-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00about\u00bb  <\/p>\n<pre><code class=\"bash\">01 00 03 6f 75 74  <\/code><\/pre>\n<p>  <b>25-\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00abLjava\/io\/PrintStream;\u00bb  <\/p>\n<pre><code class=\"bash\">01 00 15  4c 6a 61 76 61 2f 69 6f 2f 50 72 69 6e 74 53 74 72 65 61 6d 3b <\/code><\/pre>\n<p>  <b>26-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00abjava\/io\/PrintStream\u00bb  <\/p>\n<pre><code class=\"bash\">01 00 13 6a 61 76 61 2f 69 6f 2f 50 72 69 6e 74 53 74 72 65 61 6d  <\/code><\/pre>\n<p>  <b>27-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  \u00abprintln\u00bb  <\/p>\n<pre><code class=\"bash\">01 00 07 70 72 69 6e 74 6c 6e  <\/code><\/pre>\n<p>  <b>28-\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442:<\/b><br \/>  &quot;(Ljava\/lang\/String;)V&quot;  <\/p>\n<pre><code class=\"bash\">01  00 15  28 4c 6a 61 76 61 2f 6c 61 6e 67 2f 53 74 72 69 6e 67 3b 29 56  <\/code><\/pre>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0430 constant_pool \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0443\u0442<br \/>  access_flags <a href=\"https:\/\/docs.oracle.com\/javase\/specs\/jvms\/se7\/html\/jvms-4.html#jvms-4.1-200-E.1\">docs.oracle.com\/javase\/specs\/jvms\/se7\/html\/jvms-4.html#jvms-4.1-200-E.1<\/a>  <\/p>\n<pre><code class=\"bash\">00 21  <\/code><\/pre>\n<p>  this_class  <\/p>\n<pre><code class=\"bash\">00 05  <\/code><\/pre>\n<p>  super_class  <\/p>\n<pre><code class=\"bash\">00 06 <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\">00 00 \/\/ interfaces_count 00 00 \/\/ fields_count <\/code><\/pre>\n<p>  methods_count \u0443 \u043d\u0430\u0441 2 \u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u043a\u043b\u0430\u0441\u0441\u0435, \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438 \u043c\u0435\u0442\u043e\u0434 main:  <\/p>\n<pre><code class=\"bash\">00 02  <\/code><\/pre>\n<p>  <b>Method 1 \u2014 Constructor<\/b>  <\/p>\n<pre><code class=\"bash\">00 01 - access_flags 00 07 - name_index 00 08 - descriptor_index 00 01 - attributes_count <\/code><\/pre>\n<p>  <b>Attribute 1<\/b>   <\/p>\n<pre><code class=\"bash\">00 09 \/\/ name_index (Code) 00 00 00 1d \/\/ attribute_length  00 01 \/\/ max_stack  00 01 \/\/ max_locals  00 00 00 05  \/\/ code_length <\/code><\/pre>\n<p>  \u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0441 \u043a\u043e\u0434\u043e\u043c \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 code[code_length], \u0440\u0430\u0437\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0442\u0435\u043c\u0430:  <\/p>\n<pre><code class=\"bash\">2a  \/\/ aload_0  b7 00 01 \/\/ invokespecial (\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0432 constant_pool) b1 \/\/ return <\/code><\/pre>\n<p>  \u0410\u0442\u0442\u0440\u0438\u0431\u0443\u0442 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430  <\/p>\n<pre><code class=\"bash\">00 00 \/\/ exception_table_length  00 01 \/\/ attributes_count  00 0a \/\/ attribute_name_index (LineNumberTable - 10 \u044d\u043b\u0435\u043c\u0435\u043d\u0442) 00 00 00 06 \/\/ attribute_length 00 01 \/\/ line_number_table_length 00 00 \/\/ start_pc 00 03 \/\/ line_number <\/code><\/pre>\n<p>  <b>Method 2<\/b> \u2014 main  <\/p>\n<pre><code class=\"bash\">00 09 \/\/ access_flags  00 0b \/\/ name_index 00 0c \/\/ descriptor_index 00 01 \/\/ atributes_count <\/code><\/pre>\n<p>  <b>Attribute 1<\/b> \u043a\u043e\u0434 \u043c\u0435\u0442\u043e\u0434\u0430 main  <\/p>\n<pre><code class=\"bash\">00 09  \/\/ name_index (Code) 00 00 00 25 \/\/ attribute_length 00 02 \/\/ max_stack 00 01 \/\/ max_locals  00 00 00 09  \/\/ code_length <\/code><\/pre>\n<p>  code[code_length]  <\/p>\n<pre><code class=\"bash\">b2 00 02 \/\/ getstatic 2, \u0440\u0430\u0441\u043f\u0443\u0442\u044b\u0432\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0431\u0443\u0434\u0435\u0442 java.lang.System 12 03 \/\/ ldc 3 b6 00 04 \/\/ invokevirtual 4   b1 \/\/ return <\/code><\/pre>\n<pre><code class=\"bash\">00 00 \/\/ exception_table_length  00 01 \/\/ attributes_count 00 0a \/\/ attribute_name_index (LineNumberTable - 10 \u044d\u043b\u0435\u043d\u0442)  00 00 00 0a \/\/ attribute_length 00 02 \/\/ line_nuber_table_length 00 00 \/\/ start_pc 00 06 \/\/ line_number 00 08 \/\/ start_pc 00 07 \/\/ line_number <\/code><\/pre>\n<p>  \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043e \u0438 \u0438\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043a\u043b\u0430\u0441\u0441\u0430  <\/p>\n<pre><code class=\"bash\">00 01 \/\/ attributes_count 00 0d \/\/ name_index (SourceFile) 00 00 00 02 \/\/ attributes_length 00 0e \/\/ sourcefile_index(App.java) <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u0441 \u043f\u043e-\u0431\u0430\u0439\u0442\u043e\u0432\u044b\u043c \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c class \u0444\u0430\u0439\u043b\u0430, \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<p>  <b>javap -c -s -verbose classes\/hello\/App.class<\/b><\/p>\n<p>  \u041e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u044f \u0432\u044b\u043f\u0438\u0441\u0430\u043b \u0440\u0443\u043a\u0430\u043c\u0438:<\/p>\n<pre><code class=\"java\">Classfile \/...\/classes\/hello\/App.class   Last modified Aug 14, 2015; size 418 bytes   MD5 checksum e9d96126a9f5bbd95f154f1a40d46b53   Compiled from &quot;App.java&quot; public class hello.App   minor version: 0   major version: 52   flags: ACC_PUBLIC, ACC_SUPER Constant pool:    #1 = Methodref          #6.#15         \/\/ java\/lang\/Object.&quot;&lt;init&gt;&quot;:()V    #2 = Fieldref           #16.#17        \/\/ java\/lang\/System.out:Ljava\/io\/PrintStream;    #3 = String             #18            \/\/ Hello world!    #4 = Methodref          #19.#20        \/\/ java\/io\/PrintStream.println:(Ljava\/lang\/String;)V    #5 = Class              #21            \/\/ hello\/App    #6 = Class              #22            \/\/ java\/lang\/Object    #7 = Utf8               &lt;init&gt;    #8 = Utf8               ()V    #9 = Utf8               Code   #10 = Utf8               LineNumberTable   #11 = Utf8               main   #12 = Utf8               ([Ljava\/lang\/String;)V   #13 = Utf8               SourceFile   #14 = Utf8               App.java   #15 = NameAndType        #7:#8          \/\/ &quot;&lt;init&gt;&quot;:()V   #16 = Class              #23            \/\/ java\/lang\/System   #17 = NameAndType        #24:#25        \/\/ out:Ljava\/io\/PrintStream;   #18 = Utf8               Hello world!   #19 = Class              #26            \/\/ java\/io\/PrintStream   #20 = NameAndType        #27:#28        \/\/ println:(Ljava\/lang\/String;)V   #21 = Utf8               hello\/App   #22 = Utf8               java\/lang\/Object   #23 = Utf8               java\/lang\/System   #24 = Utf8               out   #25 = Utf8               Ljava\/io\/PrintStream;   #26 = Utf8               java\/io\/PrintStream   #27 = Utf8               println   #28 = Utf8               (Ljava\/lang\/String;)V {   public hello.App();     descriptor: ()V     flags: ACC_PUBLIC     Code:       stack=1, locals=1, args_size=1          0: aload_0          1: invokespecial #1                  \/\/ Method java\/lang\/Object.&quot;&lt;init&gt;&quot;:()V          4: return       LineNumberTable:         line 3: 0    public static void main(java.lang.String[]);     descriptor: ([Ljava\/lang\/String;)V     flags: ACC_PUBLIC, ACC_STATIC     Code:       stack=2, locals=1, args_size=1          0: getstatic     #2                  \/\/ Field java\/lang\/System.out:Ljava\/io\/PrintStream;          3: ldc           #3                  \/\/ String Hello world!          5: invokevirtual #4                  \/\/ Method java\/io\/PrintStream.println:(Ljava\/lang\/String;)V          8: return       LineNumberTable:         line 6: 0         line 7: 8 } SourceFile: &quot;App.java&quot; <\/code><\/pre>\n<p>  \u0410 \u0432\u043e\u0442 \u0437\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"http:\/\/hg.openjdk.java.net\/jdk8\/jdk8\/langtools\/file\/1ff9d5118aae\/src\/share\/classes\/com\/sun\/tools\/classfile\/ClassFile.java\">\u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0437\u0431\u043e\u0440\u0430 class \u0444\u0430\u0439\u043b\u0430<\/a>:<\/p>\n<pre><code>ClassFile(InputStream in, Attribute.Factory attributeFactory) throws IOException, ConstantPoolException {         ClassReader cr = new ClassReader(this, in, attributeFactory);         magic = cr.readInt();         minor_version = cr.readUnsignedShort();         major_version = cr.readUnsignedShort();         constant_pool = new ConstantPool(cr);         access_flags = new AccessFlags(cr);         this_class = cr.readUnsignedShort();         super_class = cr.readUnsignedShort();          int interfaces_count = cr.readUnsignedShort();         interfaces = new int[interfaces_count];         for (int i = 0; i &lt; interfaces_count; i++)             interfaces[i] = cr.readUnsignedShort();          int fields_count = cr.readUnsignedShort();         fields = new Field[fields_count];         for (int i = 0; i &lt; fields_count; i++)             fields[i] = new Field(cr);          int methods_count = cr.readUnsignedShort();         methods = new Method[methods_count];         for (int i = 0; i &lt; methods_count; i++)             methods[i] = new Method(cr);          attributes = new Attributes(cr);     }  <\/code><\/pre>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/264919\/\"> http:\/\/habrahabr.ru\/post\/264919\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e <a href=\"http:\/\/habrahabr.ru\/post\/111456\/\">java \u0431\u0430\u0439\u0442\u043a\u043e\u0434<\/a>. \u042f \u0440\u0435\u0448\u0438\u043b \u0435\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438 \u0432 \u043c\u0435\u0440\u0443 \u0441\u0438\u043b \u0440\u0430\u0437\u0432\u0438\u0442\u044c \u0442\u0435\u043c\u0443. \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Java. \u0410 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0449\u0435 \u00abHello world\u00bb?<br \/>  \u0414\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e src, \u043a\u0443\u0434\u0430 \u0432 \u043f\u0430\u043f\u043a\u0443 hello \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u0444\u0430\u0439\u043b App.java:<\/p>\n<pre><code class=\"java\">package hello;  public class App {      public static void main(String[] args) {         System.out.println(&quot;Hello world!&quot;);     }  } <\/code><\/pre>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-263721","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263721"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263721\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}