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...

In what circumstances, compiler will supply a default
constructor for a class?

Answer Posted / ranganathkini

If no constructors are explicitly defined for the class,
Java supplies a default no-arg constructor which does
nothing more than initialize the fields of the class to
their default value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is the find and replace?

950


What is a java developer salary?

924


Is there any tag in htm to upload and download files?

1004


Which is better arraylist or vector?

979


Why is singleton class used?

993


Who is founder of java?

949


Can private class be inherited in java?

978


Difference between stack and queue?

1025


Does hashset allow duplicates in java?

1063


Why does java not allow multiple public classes in a java file ?

4411


Explain the hierarchy of java exception classes?

1028


How is treeset implemented in java?

966


Will set allow duplicates in java?

930


Why do we create threads in java?

1160


Can we use String with switch case?

1121