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...

Explain role of constructor in a java application?

Answer Posted / sonal

Without a constructor u cannot make an object or instance
of a class.
Every class must have a constructor. If no constructor is
provided the complier will provide default constructor at
run time.

Is This Answer Correct ?    33 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is supplier in java?

1050


What are internal variables?

1050


Similarity and difference between static block and static method ?

973


What is the formula to calculate percentage?

1070


Explain the use of sublass in a java program?

1078


What is the basic difference between string and stringbuffer object?

1137


Is null == null in java?

1163


Is it necessary that each try block must be followed by a catch block?

1066


What do you mean by global variable?

998


What are basic keywords?

1075


How is garbage collection controlled?

1223


What is yield () in java?

928


What is the difference between equals() and?

1258


What is the difference between the paint() and repaint() methods in java programming?

1236


Can constructor be synchronized?

986