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

What is string data?

557


What is a boolean expression in java?

537


What is method and methodology?

608


Is null a string or object in java?

550


Explain about core java?

626






Differentiate between stringbuffer and stringbuilder in java.

552


Explain super keyword in java.

584


Explain notifyall() method of object class ?

666


Can we use this () and super () in a method?

531


How do you achieve singleton?

533


Can you instantiate the math class?

602


How will you reverse a singly-link list?

599


what are abstract functions?

559


How can we pass argument to a function by reference instead of pass by value?

588


What is the longest unicode character?

695