In how many ways we can create Object in JAVA?/Chapter-11/OOP's Concept

In how many ways we can create Object in JAVA?In five ways we can create Object in java.




  1. By using the new operator:-In how many ways we can create Object in JAVA?




  2. By using newInstance( ) method:- In how many ways we can create Object in JAVA?




  3. By using the clone( ) method:- In how many ways we can create Object in JAVA?




  4. By using the Factory method:-In how many ways we can create Object in JAVA?




  5. By using Deserialization:-In how many ways we can create Object in JAVA?




 

No comments:

Post a Comment

Be the first to comment!

Don't just read and walk away, Your Feedback Is Always Appreciated. I will try to reply to your queries as soon as time allows.

Note:
1. If your question is unrelated to this article, please use our Facebook Page.
2. Please always make use of your name in the comment box instead of anonymous so that i can respond to you through your name and don't make use of Names such as "Admin" or "ADMIN" if you want your Comment to be published.

Regards,
JavaByChetan
Back To Home

Flipkart End Of Season Sale






© Copyright 2017 Javabychetan.blogspot.com