Java Object without new Keyword 5 Styles

June 2, 2013 | java.lang

It is only coding importance of creating Java object without using new keyword. Five styles are given. Go through.

1. Cloning – Duplicating an Object – Marker Interface 2. Java forName newInstance 3. readObject Using Serialization 4. Class Loader Java 5. Creating Java Object Using Reflection