Question: In java, how to check if a list have the same element in a list? String[] keywordsArray = { IF, WRITE, READ, RETURN, BEGIN, END,
In java, how to check if a list have the same element in a list?
String[] keywordsArray = { "IF", "WRITE", "READ", "RETURN", "BEGIN", "END", "MAIN"}; Set
String token="BACK";
i want to check if the token is in the keyworks list, but i dont know how, how to do that?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
