Prev Next

Java / Arrays

How to check an array contains values or not?

Java Arrays class provides two methods isExists() and contains() to check an array has elements or not. Both the methods return true if an array has elements else returns false.

More Related questions...

Show more question and Answers...


Comments & Discussions