Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a constructor?

Answers were Sorted based on User's Feedback



What is a constructor?..

Answer / suma

A constructor is one which is used to initialize the
instance variables of an object.

Is This Answer Correct ?    7 Yes 1 No

What is a constructor?..

Answer / srinivasa reddy

Guarrented intilization of instance variables of an object.

Is This Answer Correct ?    3 Yes 2 No

What is a constructor?..

Answer / saravanan

Class name and Methods name are same. It has no Return type.
When create a instance with class the method is
automatically called.

Is This Answer Correct ?    0 Yes 0 No

What is a constructor?..

Answer / sunil kumar

Constructor is a special method having the same name as class name, without any return type not even void. And it is used to initialize the instance variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java J2EE AllOther Interview Questions

Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

1 Answers   HCL,


what is the difference between through and throws?

2 Answers   HCL,


what is difference between vector and arraylist?.

4 Answers   C DAC, HCL,


What is the use of hashcode in java ?

0 Answers  


What is need of DAO? Write one simple DAO example?

2 Answers   IBM,


How to use ANT?

2 Answers  


which book is the best for preparing for SCWCD 1.5

4 Answers   Google,


What is the Spring2.5 MVC Navigation flow?

1 Answers   IBM,


i need java 1+ experience resume on java developer kindly send me my mail id:srikanthreddy1.marla@gmail.com

1 Answers  


what is diff string and stringbuffer

7 Answers   CTS, HCL,


what is jndi?

2 Answers  


I have include a jsp page by using <jsp:include page="/.../xyz.jsp"/> The thing is that the xyz.jsp page has its submit button.When i click on that button the whole main page get refreshed.But i want to refresh only the xyz.jsp page.How could i achive it so that i can only refresh the xyz.jsp not the main page page?

4 Answers  


Categories