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 / uthrakumar-wipro technologies

if there is no constructor was defined explicitly it will
define the default constructor...the logic in this was we
are creating a constructor with out our knowledge while
creating an object as follows....

<classname> <obj>=new <classname()>------this is
the constructor we are defining .............

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a superclass?

1293


Explain what is Marker interface?

1043


Which java ide is used the most?

955


What are facelets templates?

989


Is .net better than java?

971


Is overriding possible in java?

912


What are access specifiers available in java?

977


What is append function?

950


What are the types of methods in java?

1053


How to provide security in java

2203


What is string [] java?

915


Why is multithreading important?

895


Explain about fail safe iterators in java?

970


What do you understand by the bean persistent property?

957


What is java thread dump, how can we get java thread dump of a program?

947