Algoteka
Log in to submit your own samples!

Print Text to Console

Problem by oml1111
# Tech tags Title Creator Created date
1 0
2022-08-13 00:59
View all samples for this language (1 verified and 0 unverified)

Implementation | Java |

By oml1111 |
0 likes

Code

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

Further reading

Java Basic Input and Output - progviz.com

References

objects
java.lang.System.out docs.oracle.com
functions
java.io.PrintStream.println(char[] x) docs.oracle.com

Problem Description

Output "Hello world!" to the console the language uses by default. Usually the same as writing to standard output.

View sample discussion (0 comments)
View problem discussion (0 comments)