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

What are jpa repositories?

878


Why oracle type 4 driver is named as oracle thin driver?

846


What is meant by annotation in java?

976


What is dependency injection in java?

881


Please can anybody explain what exactly "the project architecture" means???

2201


What is java language expression?

905


Is jdk a compiler?

842


Why java is better than node.js?

966


1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?

2030


Explain the inheritance principle.

920


How does jpa repository work?

920


What is flatmap in rxjs?

931


What is a java proxy?

963


How should I format my code? How should I comment my code?

971


Which interceptor is responsible for setting action javabean properties?

820