This post is part of series on little known features of java. Earlier posts covered instances accessing private members from same class, usage of class sun.misc.Unsafe and checked exception thrown … [Read more...]
Checked exceptions thrown in initializer blocks can be declared by the constructors
This post is in continuation to exploring little known features of java. In previous post, I have covered "Instances of same class can access private members of each other" and Some very surprising … [Read more...]
Usage of class sun.misc.Unsafe
This post is next update in sequence of discussions regarding little known features of java. Please subscribe through email to get updated when next discussion goes live. And do not forget to express … [Read more...]
Instances of same class can access private members of each other
From this post onwards, I will spend few days in sharing some little known (if not unknown) features of java language, which we either don't knew before or didn't care to think differently. I will … [Read more...]