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 / vijayakumar chinnasamy

If there is no constructor in the class , then the compiler
create a default constructor with access specifier of class.


class A{ } - compiler create default constructor for this
class.

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 the diffrence between inner class and nested class?

1033


What does jre stand for?

1011


Name few java 8 annotations ?

978


Difference between association, composition and aggregation?

935


Can a class extend 2 classes in java?

989


How to create an interface?

1022


What is garbage collector?

1014


What string is utf8?

930


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

1046


How do you add an element to a set in java?

982


What is local class in java?

1033


Write a code to create a trigger to call a stored procedure

919


What is identifier in java?

1036


What is the difference between numeric and integer?

957


What is a parameter used for?

925