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

When does the compiler supply a default constructor for a
class?

Answer Posted / bindhu

If we do not define any constructors, the
compiler inserts an invisible zero parameter
constructor "behind the scenes".

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the differences between heap and stack memory in java? Explain

983


can used Protected Class outside Function.?

1103


Explain listiterator and methods in listiterator?

1021


What is local variable and instance variable?

1056


What is a constructor, constructor overloading in java?

999


What is a byte string?

1099


How can we avoid including a header more than once?

1040


If an object is garbage collected, can it become reachable again?

1000


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1492


what is anonymous class in java?

1034


what is nested class in java?

1176


What is a string token?

1049


How can I debug the Java security exceptions and AccessControlExceptions?

1153


How can u increase the heap size in the memory?

1020


Write a program to print count of empty strings in java 8?

1006