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

Exercise 1

Create a program that prints your name to the screen.

The program output should resemble the following:

Jane Doe
        

public class Name {
    
    public static void main(String[] args) {
        System.out.println("Mason Bee");
    }

}
Leave a Reply

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