GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS

 Print  |  
Question:  how many ways to create objects in java



December 12, 2008 02:58:10 #1
 tariqueanwer   Member Since: December 2008    Total Comments: 1 

RE: how many ways to create objects in java
 
There are two ways:
1. new operator
2. newInstance() method. (Reflection API)
     

 

Back To Question