• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Meaning of "how to refactor code to use the generic versions"

 
Divyya Joshi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generics/Collection as one of the objectives for OCPJP states that "how to refactor code to use the generic versions ". I am not able to get it anywhere.
Can anyone tell me is this given in K&B because i did'nt read it anywhere .
 
Ankit Garg
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even though I'm not 100% sure, I think on that topic you just have to know how you can mix generic and non-generic code. You might get a drag and drop question which doesn't uses generics and you'll have to change it to use generics. I don't think you need to specifically prepare for that objective, if you know generics you'll be good for the exam...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic