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 are the types of constructer explain with example

Answer Posted / kailash

there are two types of Constructors .
1. Parameterized Constructor inwhich we give arguments .
2. Default constructor , there no argument is given .
for each class there must be a defult constructor .

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is used to create the daemon thread?

998


Which is best framework in java?

1006


What are tags in java?

933


Is jdk a compiler?

897


Where is singleton design pattern used in java?

982


What is a jpa repository?

963


What is a pojo class in java?

999


What are the rules regarding quotation marks?

1021


What is the difference between lambda expression and anonymous methods?

971


What is cdi bean in java?

1051


What is entitymanager in java?

1078


How do I enable jvm?

915


What is flatmap java?

1055


Do I need jdk or jre?

901


What is the difference between collection and stream?

993