r/java • • Jan 18 '22

What are some very less known facts about java?

I've got assignment from college to find out rare facts or fun facts about java, so little help will be appreciated :)

Edit: Thanks for all these suggestions guys. It's going to help me alot and also Almost all of these facts i didn't knew till now. Thanks :) <3

179 Upvotes

297 comments sorted by

View all comments

Show parent comments

3

u/cal-cheese Jan 19 '22

Unfortunately in that case you won't learn much memory management with C++ either. Modern C++ employs RAII to not have to think about explicit management, which removes leaks and danglings.

1

u/mauganra_it Jan 21 '22

I doubt these features will be taught that early. They are appreciated only when your hands are all bloody and scarred from working with pointers. Still, manual memory management is a very useful, albeit undervalued skill.