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

Is it possible for a yielded thread to get chance for its execution again?

896


Can inner class extend any class?

1012


What are green threads in java?

948


How to obtain a performance profile of java program

956


What is arraylist class in java?

993


Can we overload destructor in java?

931


What is a native method in java programming?

1006


What is boolean data type in java?

941


Can we write a class without main method in java?

900


How do you remove duplicates in java?

958


What is a default constructor and also define copy contrucyor?

1052


what is bmg file and how to create that files?what will it contailn?

2302


What are the six ways to use this keyword?

1016


What does next mean in java?

926


In how many ways we can do synchronization in java?

918