How to call one constructor from the other constructor ?



How to call one constructor from the other constructor ?..

Answer / Tarun Veer Singh

One constructor can be called from another constructor within the same class using the 'this' keyword. To do this, place the 'this' keyword followed by the constructor you want to invoke in the constructor definition.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Why Java is not pure Object Oriented language?

1 Answers  


what state does a thread enter when it terminates its processing? : Java thread

1 Answers  


can rmi and corba based applications interact ?

1 Answers  


What are batch updates. in jdbc

2 Answers   Corent Technology,


How are Java source code files named?

3 Answers  


Name the methods that used to get and set the text label displayed by a Buttonobject?

1 Answers  


What is the transient keyword?

5 Answers  


Give me some null interfaces in java?

1 Answers  


Can we declare an array without size in java?

1 Answers  


What is r in java?

1 Answers  


what is the difference between HashMap and Hashtable

17 Answers   Value Labs, Virtusa,


What is object english?

1 Answers  


Categories