Page Index - saurabhojha/Effective-java GitHub Wiki
14 page(s) in this GitHub Wiki:
- HOME
- WELCOME TO THE WIKI OF WIKI ONLY REPOSITORY.
- Item 1: Consider static factory methods instead of constructors
- Please reload this page
- Item 2: Consider a builder when faced with many parameters
- Please reload this page
- Item 3: Enforce the singleton property with a private constructor or an enum type
- Please reload this page
- ITEM 4: Enforce noninstantiability with a private constructors
- Please reload this page
- Item 5: Prefer dependency injection to hardwiring resources
- Please reload this page
- Item 6: Avoid Creating Unnecessary Objects
- Please reload this page