Olá pessoal, preciso que alguém me ajude a comentar esse trecho de código, pois estou com dificuldades. public static void main(String[] args) { // TODO code application logic here ArrayList<String> a = new ArrayList<String>(); TreeMap<Integer,String> t = new TreeMap<Integer,String>(); Hashtable<Integer,String> h= new Hashtable<Integer,String>(); System.out.print((a instanceof Collection)+","); System.out.print((t instanceof Collection)+","); System.out.print(h instanceof Dictionary); } Sei que o resultado será "true,false,true" mas gostaria de entender. Obrigado!