title: Instantiate objects without using new operator
body: <p>In one of the java interview, the following question is asked:</p>
  
  <p>In java is there a way to instantiate an object without using <code>new</code> operator? I replied to him that there is no other way of instantiation. But he asked me how an object in java is instantiated with the configurations in an <code>xml</code> file in java(in spring framework). I said, internally the spring uses <code>reflection utils</code> to create an object with a <code>new</code> operator. But the interviewer was not convinced with my answer. </p>
  
  <p>I saw <a href="https://stackoverflow.com/questions/95419/what-are-all-the-different-ways-to-create-an-object-in-java">this link</a> to be useful but there is a <code>new</code> operator indirectly involved in one or the other internal methods.</p>
  
  <p>Is there really a way to instantiate objects in java without using <code>new</code> operator?</p>