Java Scanner Chatbot help

I am trying to make it so that when I type Gaming for example it comes up with “do you like gaming?” If i type gaming or if I type anything it comes up with “do you like uni?” pls help I am a beginner coder thank you, this is for a chatbot.

String message;

System.out .println(“Hello I am Chatterbot what can I do for you?:”);

Scanner chatterbot = new Scanner(System.in );

String uni = new String(“University”);

String gaming = new String (“Gaming”);

uni = chatterbot.nextLine();

if (uni.contains(“University”));

System.out .println(“Do you like uni?”);

gaming = chatterbot.nextLine();

if (gaming.contains(“Gaming”));

System.out .println(“Do you like gaming?”);