SyntaxFix
Write A Post
Hire A Developer
Questions
This is easy way to remove default null values from arraylist
tourists.removeAll(Arrays.asList(null));
otherwise String value "null" remove from arraylist
tourists.removeAll(Arrays.asList("null"));