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 is constructor

Answer Posted / guest

constructor is special method with the class name and
without any return value.

whenever the object is created the constructor is called
automatically according to the argument passed.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we store variables in local blocks?

1408


What are the 8 data types in java?

1044


Can a final variable be initialized in constructor?

1021


How many bits is a char?

1043


What does snprintf return?

1057


Can you declare an interface method static?

1107


How do you compare arrays in java?

1001


Write a function to print Fibonacci series and Tribonacci series?

1217


Write a program to print the pattern given below

993


What is the diffrence between inner class and nested class?

1140


can I implement my own start() method? : Java thread

1040


Can we pass null as argument in java?

1003


Is it possible to override private or static method in java?

1039


What is nested interface?

1051


Which collections are thread safe in java?

960