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 buffer in java?

971


What is class??

1172


For class CFoo { }; what default methods will the compiler generate for you>?

1023


Is main an identifier?

945


explain local datetime api in java8?

966


How we can make copy of a java object?

1043


What is the primitive type byte?

940


How do you start a new line in java?

924


write a program that list all permutations of ABCDEF in which A appears before B?

2437


What’s the difference between callable and runnable?

1021


Which one will take more memory: an int or integer?

1161


What is the Scope of Static Variable?

1162


Why is it called a string?

942


What is array sorting in java?

991


What is the diffrence between inner class and nested class?

1028