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 output of the below java program?

1048


What is java autoboxing?

951


What is java string pool?

1010


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1701


Is null an object in java?

1038


How do you reverse sort in java?

949


What is collection sort in java?

952


Explain yield() method in thread class ?

1069


What is the functionability stubs and skeletons?

1156


how would you implement a thread pool? : Java thread

923


Explain when we should make an instance variable private.

1127


What is the purpose of garbage collection in java, and when is it used?

1043


Under what conditions is an object’s finalize() method invoked by the garbage collector?

1046


State differences between C and Java?

1217


Using callable statement how can you pass out parameters, explain with example?

1232