Learn Programming
Link
Java needs a garbage collector, but like an application calling an API, it only needs the services of a GC, not a specific implementation of one.
Link
Link
What a wild and interesting behavior. I wonder why it was believed to be necessary.
Link
All primitive types in Java need wrappers to be put into collections. Only reason I haven’t noticed any other than ints is that ints and Strings are the only ones I tend to try.
Link
Purely for legibility of large numbers or fp-numbers with large number of decimal digits.
Article
Member variables of a class are initialized to default values, but not variables declared within methods, conditional blocks, or loops.
Link
Seems a bit silly that you can declare the variable as a long and the compiler happily ignores that when first evaluating the literal.
Link
Tells compiler to stick to IEEE 754 standard.
Link
Seems like they’re locking themselves in but I suppose numbers for daily use may rarely reach beyond that limit.