For the LinkedHashMap<
String,ArrayList<String> data type, how to find out whether all the Strings in ArrayList are empty/null?
I tried the following code:
Output is:
productList {PC=[], Mac=[]} size 2
st 2
st2 size 2
st2 [[], []]
Why the last line "st2 null " is not displayed?
What should be the code to find out whether all the Strings in st2 are empty/null?