Para os bravos que estão estudando para o exame usando um livro do exame anterior (1.2), um artigo muito bom para o tópico equals e hashCode:
Muito legal esse link cara !
Posso postar ele no meu blog ? Eu escrevo lá q foi vc q indicou aqui no fórum do GUJ blz ?
Dá uma olhada lá: http://jjnews.blogger.com.br
[]'s
Valeu cara, já tá lá !!!
[]'s
ok, valeu!
mais um matador:
http://www-106.ibm.com/developerworks/java/library/j-jtp05273.html
e mais alguns sobre Collections:
http://java.sun.com/docs/books/tutorial/collections/index.html
http://www-106.ibm.com/developerworks/java/library/j-mer0821/
http://developer.java.sun.com/developer/technicalArticles/Collections/Using/
http://developer.java.sun.com/developer/Books/javaprogramming/corejava/
http://builder.com.com/article.jhtml;jsessionid=OSRB0K0P3X2FLTQQAAZCFFA?id=u00220020814R4B01.htm&_requestid=293112
http://access1.sun.com/techarticles/CollectionsMap.html
http://developer.java.sun.com/developer/Books/javaprogramming/corejava/page5.html
uma boa sobre hashCode, saiu hoje no Examulator http://www.examulator.com
Which of the following statements are true?
1 By default every object has a hashCode method
2 When creating a hashCode method it must be consistent with the matching equals method.
3 a correct hashCode method must return a positive int value
4 a hashCode method must return the same value each and every time it is invoked