0% found this document useful (0 votes)
18 views1 page

Hello World (Java)

This Java program contains a main method that prints the string "hello world", followed by "cet" on a new line, and finally "eac" on another new line. The program defines a class called "hello" with a static main method that uses System.out.println to output the multi-line string for display.

Uploaded by

api-3738474
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Hello World (Java)

This Java program contains a main method that prints the string "hello world", followed by "cet" on a new line, and finally "eac" on another new line. The program defines a class called "hello" with a static main method that uses System.out.println to output the multi-line string for display.

Uploaded by

api-3738474
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

public class hello{

public static void main(string[] args){


system.out.println("hello world\ncet\neac");
}
}

You might also like