Styrow.dev
Question 76 of 247
Java Topic: General medium

Can we use both "this" and "super" in a constructor?

Question

Can we use both “this” and “super” in a constructor?

Answer

No, because both this and super should be the first statement.


📲 Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.