3 ms·
Many of the other languages write this in functions that are first class citizens. The functions are ready to be used. In Java you would still need to put this
by va_coder 16y ago
Many of the other languages write this in functions that are first class citizens. The functions are ready to be used. In Java you would still need to put this inside another class to make it run and other classes would need to instantiate that class to run it.
That's a big difference.