how containsall method from collections interface works in java?

前端 未结 0 1489
忘掉有多难
忘掉有多难 2020-12-13 02:37

if I have two lists of objects from Collection interface

list 1 = {John, Tim, Tom}

list 2 = {John, Tim}

and both of the lists are instances of ArrayList

相关标签:
回答
  • 消灭零回复
提交回复
热议问题