sorry we are not a code mill,
https://coderanch.com/how-to/java/NotACodeMill or a homework factory (bother lost that link)
This is quite an advance project, so you must have some knowledge of
java by now, do you want to discuss the 3 different terms you have been given?