Effective Java Book important points
In Java8, some of the things that are added:
lambdas, functional interface, method references -> create function objects
streams -> processing sequen…
Two special purpose families of reference types: Enums and Annotations.
Item 34: Use enums instead of int constants
Item 35: Use instance …
Generics has been present since Java 5. They help in maintaining static typing by inserting casts and give error at compile time if inconsistent. They…
Item 15: Minimize the accessibility of classes and members
Item 16: In public classes, use accessor methods, not public fields
Item 17: Min…
Object is a concrete class, designed primarily for extension. This article would tell you when and how to override the methods.
Item 10: Ob…
Part of a Series
Item 1: Consider static factory methods instead of constructors
Item 2: Consider a builder when faced with many construc…
This is the collection which I am writing based on the book Effective Java by Joshua Bloch . The book contains a lot of recommended practices (90 to …
Accept challenges on Hashnode to become better at dev blogging and win cool badges from Hashnode to showcase.
You haven't completed any challenge yet!