logo CodeStepByStep logo

HelloWorld

Language/Type: Java basics console output

Write a console program in a class named Hello that prints the following console output:

Hello, world!

(You don't need to write any 'import' statements.)

Class: Write a complete Java class.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.