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  >  Tech FAQs  >  Programming  >  Java

 Print  |  
Question:  Java Constructor

Answer: How to use a constructor in a Java program?


June 06, 2008 04:47:11 #1
 banduskank   Member Since: June 2008    Total Comments: 4 

RE: Java Constructor
 
When you want create an object at that time you use the constructor. The purpose of Constructor is only to create object. If you not provide Constructor then compiler create default Constructor to create object.
     

 

Back To Question