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

How to solve the problem of generating the unique hash keys with hash function?

1950


Explain different types of wrapper classes in java?

1072


How do you create a first line indent?

1044


Can we create an object of private class?

1021


What is a JAR file?

1101


Do we have pointers in java?

1068


Can we create constructor in abstract class ?

1113


List out benefits of object oriented programming language?

942


What is a prefix function.write down a code to compute prefix function.

1109


Name component subclasses that support painting in java programming?

1119


Which class is the superclass for every class in java programming?

1063


Can a vector contain heterogenous objects?

1113


When we should use serialization?

1090


What is memory leak and how does java handle it?

1030


What is main in java?

1208