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

1

u/Mundosaysyourfired Jan 21 '22

???

Java primitive arrays you have to allocate size on array creation as well. So I don't know what you're talking about.

1

u/mauganra_it Jan 21 '22

True. The painful thing, as in all things C/C++, is the deallocation.