Home  >  Article  >  Java  >  【java tutorial】Java tutorial

【java tutorial】Java tutorial

黄舟
黄舟Original
2016-12-26 11:07:141551browse

Java Tutorial

Java is a high-level programming language launched by Sun Microsystems in May 1995.

Java can run on multiple platforms, such as Windows, Mac OS, and other UNIX versions of systems.

This tutorial will let everyone better understand the JAVA programming language through simple examples.

My first JAVA program

Below we use a simple example to demonstrate Java programming. This example outputs "Hello World", which is also the first example program for getting started with any language. :

public class MyFirstJavaProgram {

    public static void main(String []args) {
       System.out.println("Hello World");
    }
}


The above is the content of [java tutorial] Java tutorial. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn