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

how to call One constructor from another;

Answer Posted / gokul d

just by initializing the class(constructor) in the another
class where it has to be invoked.for eg
class a{
a()
{
}
}
class b
{
b()
{
new a();
}
}

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you sort words in java?

891


What are the main uses of java?

948


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

940


Why java is considered dynamic?

1117


How do you implement polymorphism in our day to day life?

3187


How do you decide when to use arraylist and linkedlist?

955


What package is math in java?

959


Is java still necessary?

1009


What data type is string java?

918


What is consumer interface?

960


Which is better 64 bit or 32 bit?

884


What is the difference between applet and application?

967


Highest level event class of the event-delegation model?

3966


Why map is used in java?

991


What is the importance of hashcode() and equals() methods?

1017