CAN WE CALL A CONSTRUCTOR FROM OTHER CONSTRUCTOR IN JAVA?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java 
 565  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Can we call a constructor from other constructor in java?

    Yes we can call a constructor from other constructor using this() .

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!