Code Optimization : Effective Java Chapter 2 : Item 5 : Avoid Creating unnecessary Objects
Code Optimization : Effective Java Chapter 2 : Item 5 : Avoid Creating unnecessary objects
Reuse can be both faster and morestylish. An object can always be reused if it is immutable.
String s = "stringette";
This version uses a single String ins...
hashcodehub.hashnode.dev3 min read