SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of using array you can use the ArrayList directly and can use the contains method to check the value which u have passes with the ArrayList.
ArrayList