I realized the importance of equals() and hashCode() while trying to remove an element from a List. The method hashCode() returns an Integer value of …
During development we often came across a need of conversion an array to an object.
While writing any java program, we generally use a new operator to create java objects and that is good practice too. However, we need to know other w…
There are some keywords in each programming languages which makes the lives of developers hard and and In Kotlin the two keyword object and companion …
To check if an object "myObj" exists ( it's neither null nor undefined) and it's not empty we can use this expression :