Teck4World
Tuesday, March 13, 2018
Java ArrayList isEmpty() Method example
ArrayList<String> name = new ArrayList<String>();
if(name.isEmpty()){
sysout("Array is Empty");
}
References - https://beginnersbook.com/2013/12/java-arraylist-isempty-method-example/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment