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 / harsh

Constructor is "object creator".
its role is to create objects thats it.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write any code after throw statement?

1004


Explain inheritance in java?

925


What are the important features of Java 11 release?

1052


How do you declare a destructor in java?

926


What is difference between final and finally in java?

1028


Write a program to print the pattern given below

885


What is methodological theory?

926


What is java regex?

938


Can we rethrow the same exception from catch handler?

1078


What is the use of using enum to declare a constant?

955


Can interface be private in java?

944


Can we declare a class as static?

1036


What is the use of System class?

1092


What is difference between this and super keyword?

937


How objects of a class are created if no constructor is defined in the class?

1016