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

why the constructor should be used in class,if there is no
constructor what will happen?

Answer Posted / devarathnam c,kotagudibanda(po

Hi... Nothing will happen the compilet will supply the
default constructor of the class.Normally canostructor can
be used to instantiate an object.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you take care of mutual exclusion using java threads? : Java thread

1007


What does  mean in regex?

1031


What is a class reference?

1056


How do you compare two objects?

902


Explain working of call by reference function invoking.

986


What methods are used to get and set the text label displayed by a button object?

981


What is the use of pattern in java?

1031


Explain the importance of import keyword in java?

973


Explain static nested classes ?

1073


What is off heap memory?

960


Explain jvm, jre, and jdk?

971


what is difference betweem home interface and remote interface?

2581


How many classes can any class inherit java?

941


What are the pillars of java?

887


what is the difference between the methods sleep() and wait()? : Java thread

929