Object-Oriented Programming with Java, part I – Exercise 2

Exercise 2

Create a program that prints out the following:

Hello world!
(And all the people of the world)

public class Greeter {

    public static void main(String[] args) {
        // Write your code here
        System.out.println("Hello world!");
        System.out.println("(And all the people of the world)");


Leave a Reply

Your email address will not be published. Required fields are marked *