Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ 2nd edition pg 84 : why they don't use generics

 
vaibhav mishra
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
during my SCJP preparation time I came to really like generics and stuff, but the servlet verision two code of beer example doesnot use any of it, I just want to know why they don't use generics, or is it some kind of j2ee restriction
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just want to know why they don't use generics, or is it some kind of j2ee restriction

I think that the new edition was mostly about fixing a few errors, pumping up a few topics and adding new questions (not 100% sure). So I guess that the authors decided not to update all the code, because it is not too important for this exam. There is no restriction for J2EE5. You can use generics and other Tiger stuff if you'd like to.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic