Day 10: Function is a functional interface that takes an input and gives an output. so functions can be chained.
Function is a functional interface that takes an input and gives an output. so functions can be chained.
Function is a functional interface that takes an input and gives an output. so functions can be chained.
Functional interface
I always liked string interpolation in JS. Now i found out about Javas MessageFormat’s format method which lets us in its way use string interpolation.
Today i found out that string declared with "" are placed in string constant pool while with new keyword its in heap. String.intern() return string if defined in string pool otherwise creates the string and then returns it.
The original quick timing test was a learning snapshot, not evidence that for loops are faster than foreach loops. This update explains the benchmark flaws and points to JMH.