ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

How many ways we can create an object in Java ?

There are four ways to create an object in Java as follows :

1. Using new operator

2. Using Class.forName()

3. Using clone() method

4. Object de-serialization

Related Posts Plugin for WordPress, Blogger...
Flag Counter