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

Is eclipse a jdk?

891


How do I enable jvm?

857


can a program use more than one command-line argument?

940


Is lambda expression an object?

881


What is spliterator in java se 8?

1086


Is java installed on windows 10?

891


What if I write static public void instead of public static void?

854


What is data persistence in java?

1011


What are java’s rules regarding tabs, spaces and newline characters?

1439


How do you create a jar file?

918


Is jpa a framework?

848


What is java lang noclassdeffounderror?

892


What is the difference between lambdas and delegates?

987


What is property file in java?

872


What is a yaml file in java?

966