Difference between revisions of "Java"
From Market Ruler Help
(Created page with "Java is a general-purpose programming language. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all...") |
|||
Line 1: | Line 1: | ||
− | Java is a general-purpose programming language. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. | + | '''Java''' is a general-purpose programming language. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled '''Java''' code can run on all platforms that support '''Java''' without the need for recompilation. |
− | The traditional "Hello, world!" program can be written in Java as: | + | The traditional "Hello, world!" program can be written in '''Java''' as: |
<code> | <code> |
Revision as of 19:24, 11 February 2019
Java is a general-purpose programming language. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.
The traditional "Hello, world!" program can be written in Java as:
public class HelloWorldApp {
public static void main(String[] args) { System.out.println("Hello World!"); // Prints the string to the console. }
}