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.

July 6, 2021 · 1 min

Day 9: Functional interface

Functional interface

July 5, 2021 · 1 min

Day 8: 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.

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.

July 3, 2021 · 1 min

Day 7: 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.

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.

July 2, 2021 · 1 min

Day 6: Today I got to know that for loop is faster than foreach loop for a large amount of elements. after checking I found out that is on average 2 times faster for the below program in my machine.

Today I got to know that for loop is faster than foreach loop for a large amount of elements. after checking I found out that is on average 2 times faster for the below program in my machine.

July 1, 2021 · 1 min