I am a new Java Developer. I am currently working on a Chatbot for school and so far I have created 2 main segments. First, I have the chatbot working at least ready for input and with 2 possible replies. The assignment requires me to have the conversation oriented towards a job interview, so I wrote the following:
I would like the database to be integrated with the main program and when the user enters a keyword like "job", or "hello", to retrieve and present that containing phrase from the database. I know I need some kind of array, a match or search and match, and a random function to choose an a reply.
My main statement:
Any help or guidance is greatly appreciated.