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.
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 ratings0% 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.