Meaning of "how to refactor code to use the generic versions"
posted 5 years ago
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 .
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...