Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q about Vector and Hashtable in SCJP 1.4

 
Alton Hernandez
Ranch Hand
Posts: 443
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will there be questions about these 2 ? I believe these 2 are now deprecated in 1.4.
[ June 22, 2003: Message edited by: Alton Hernandez ]
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No!, they're not deprecated !
Classes under the List interface:
ArrayList
Vector (synchronized, therefore slower than ArrayList)
LinkedList
Classes under the Map interface
HashMap (allows null)
Hashtable (synchronized, doesn't allow null)
TreeMap
LinkedHashMap
there will be questions on this...
HTH

[ June 22, 2003: Message edited by: Andres Gonzalez ]
[ June 22, 2003: Message edited by: Andres Gonzalez ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic