AP23/ap23/web/doku/data/cache/6/6d079fddabcf4cf2934c3775101efc7d.code

9 lines
1.1 KiB
Plaintext

<span class="co3">/**
* The HelloWorldApp class implements an application that
* simply displays &quot;Hello World!&quot; to the standard output.
*/</span>
<span class="kw1">class</span> HelloWorldApp <span class="br0">&#123;</span>
<span class="kw1">public</span> <span class="kw1">static</span> <span class="kw4">void</span> main<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string"><span class="kw3">String</span></a><span class="br0">&#91;</span><span class="br0">&#93;</span> args<span class="br0">&#41;</span> <span class="br0">&#123;</span>
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span class="kw3">System</span></a>.<span class="me1">out</span>.<span class="me1">println</span><span class="br0">&#40;</span><span class="st0">&quot;Hello World!&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">//Display the string.</span>
<span class="br0">&#125;</span>
<span class="br0">&#125;</span>