---
title: "Can you use this() and super() both in a constructor in java?"  
description: "Can you use this() and super() both in a constructor in java?"  
author: "Royce Roy"  
published: 2015-03-28  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/2373/can-you-use-this-and-super-both-in-a-constructor-in-java  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# Can you use this() and super() both in a constructor in java?

No. Because super() or this() must be the first statement.

## Answers

### Answer by Anonymous User

No. Because super() or this() must be the first statement.


---

Original Source: https://www.mindstick.com/interview/2373/can-you-use-this-and-super-both-in-a-constructor-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
