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

What is the method to declare member of a class static?

1056


What is exception in java?

1166


When can you say a graph to be a tree?

1135


Explain the importance of throwable class and its methods?

1095


I want to re-reach and use an object once it has been garbage collected. How it's possible?

1074


What is string in java with example?

1114


Which is bigger float or double java?

1026


What are the ways to instantiate the class class?

1150


what is thread? What are the high-level thread states? : Java thread

1329


What does the @override annotation do?

1095


Differences between C and Java?

1292


Can we declare a class as abstract without having any abstract method?

1045


What does system out println () do?

1071


What is string [] java?

1008


Is an array a vector?

1123