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

What is treemap in java?

995


What is the use of arrays tostring () in java?

1056


Explain the usage of this with constructors?

1053


What is lambda expression in java?

1075


Which sort is best in java?

1005


What is passing by reference in java?

1052


What are the different conditional statements?

1026


What is a “stateless” protocol ?

1014


What is an example of a conditional statement?

1081


What is string pool?

1169


What is try-with-resources in java?

1191


Does java vector allow null?

985


What is the equal sign?

1166


Can an integer be null java?

1033


What is singleton math?

1176