Can you use both this() and super() in a constructor in Java?


No, you cannot have both this() and super() in a single constructor.

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 30-Jul-2019

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements