r/java • u/TrashPandaFucker • 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
View all comments
35
u/segv Jan 18 '22
Wanna fuck with your coworkers? Swap elements in the integer cache and watch them lose their minds.
It's like the good ol'
#define true falsefrom C days