...

/

Project: Create a Method

Project: Create a Method

Create and call your own method in this Java project on writing functions.

We'll cover the following...

Create a method, sayHiTo(String name), that prints "Hi, [name]!". Call it with your name.

Press + to interact
Java
public class Main {
public static void main(String[] args) {
// Write your code here:
}
}
...