User entering int into keyboard

Hello everybody. I am taking an introduction java class in college and having a hard time with this assignment. We are to create a menu option allowing the user to select an option and then do whatever the option states for it to do. For example in the program below, if the user selects option 1 then he should be able to enter two numbers and then have the average of those two numbers shown on the screen. I am having a hard time getting java to except either a string or int typed in by a user. The program is posted below. This is my first ever thread so sorry if i did not post correctly. Thanks in advance for any help.

import java.util.*;

public class InputMenu
{
public void display_menu()
{
System.out.println(" 1) Display average of two numbers\n 2) Display the smaller of two numbers");
System.out.println(" 3) Display the larger of two numbers\n 4) Display a message in reverse\n 5) Count the number of characters in a message");
System.out.print("Selection: ");
}

public void question()
{
System.out.println("Would you like to proceed or quit?");
System.out.println("To proceed enter 9.");
System.out.println("If you wish to quit enter 0.");

I am having a hard time getting java to (accept) either a string or int typed in by a user.

Try to follow a particular route through your program, for example, if i enter the system this is what happens:
1) InputMenu() is called
2) InputMenu sets up a Scanner and calls display_menu()
3) display_menu() prints out 5 options for the user and we go back to InputMenu
4) The switch statement is called, depending on scanner input number a String message is printed and question() is called
5) question() prints out 3 options and sets up a new scanner, then has a 2nd switch option using integer input from the user again
6) The second switch statement prints out more options to exit or run the system again

In which part of this process did you plan on asking the user for a string input?

My suggestion is that before question() is called to give the user the option to exit the system or re-run, you should make a scanner and take user input there.