Home > DeveloperSection > Interviews > Can you use this() and super() both in a constructor in java?

Posted on    March-28-2015 12:26 AM

 Java Java 
 1 Answer(s)
  1064  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    March-28-2015 1:19 AM

No. Because super() or this() must be the first statement.

Don't want to miss updates? Please click the below button!

Follow MindStick