Tuesday, June 24, 2014

There are four different ways to create objects in java

  • There are four different ways to create objects in java

1. The new keyword
2. The Class.forName()
3. The clone() method
4. The object deserialization

https://www.linkedin.com/groups/What-are-all-different-ways-70526.S.5883998172040155140?view=&item=5883998172040155140&type=member&gid=70526&trk=eml-b2_anet_digest-null-75-null&fromEmail=fromEmail&ut=3f1ocViNIMOCg1

http://javabeginnerstutorial.com/core-java-tutorial/different-ways-to-create-an-object-in-java/

No comments:

Post a Comment