how to call One constructor from another;

Answer Posted / sridhar

This.constructername() keyword can be used with in the
class to refer. To use super class constructer we need to
give super.consturctername().

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain aggregation in java?

543


Does isempty check for null?

553


What is static keyword?

587


What are the different tags provided in jstl?

545


What is static synchronization?

571






What is difference between length and length() method in java ?

554


What is an empty list in java?

521


How transient variable is different from volatile variable?

554


What are alternatives to java serialization?

596


How does compareto work in java?

567


What is boolean law?

512


What is mnemonic code?

535


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

569


When should you use arraylist and when should you use linkedlist?

486


Who is the owner of java?

535