r/learnjava • • Feb 27 '22

How can I practice Java Generics, Collections Framework, File I/O, Streams and Multithreading

I'm currently reading Java Complete Reference and have been trying it's Example Codes but I'm not getting how can I use them in real world Programming or how can I practice above mentioned topics.

Are there any online resources or assignments that could help me to work more on these topics. I've tried using Online Coding Sites but I'm still finding it hard that how can I leverage these while writing Java Code.

42 Upvotes

9 comments sorted by

View all comments

14

u/[deleted] Feb 27 '22

So the problem with generics is that there are not the things one would use generally in any small application.

And Streams can be replaced by extra code, they just minimise the number of lines required and are honestly quite awesome once you understand where to use streams insted of lengthy code.

My current project requires me to have deep knowledge of both. So the only advice I can give is to work on a LARGE project.

3

u/humoroushaxor Feb 27 '22

I think it's pretty easy to contrive a small application with heavy usage of genetics.

One of my final college projects was implementing a custom ORM and use it to build an ecommerce store. Probably scratches a lot of OPs itch