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
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
Why for each loop is used?
How to solve the problem of generating the unique hash keys with hash function?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is the main use of java?
What is run time allocation?
What is the structure of java?
What is a substitution variable?
What is an escape character in java?
What is the do while loop syntax?
What are the 4 versions of java?
Can I uninstall java?
What is the class in java?
I want to print “hello” even before main is executed. How will you acheive that?