Main.java

Add a new file Main.java to src/main/java folder with the following content:

import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner input = new Scanner(System.in);

    System.out.println("JHU - WSE - CS Dpt.");
    System.out.println("Spring 2021");
    System.out.println("Class Search");
    System.out.println("Enter your search query");
    String query = input.nextLine();

    search(query);
  }

  private static void search(String query) {
    System.out.println("Search not implemented yet!");
  }
}

Run the program: you can click on the green play button next to the main method.

Here is a sample output:

Let's commit the changes we made with the message "Allow user to enter search query".