---
title: "What is the difference between this() and super()?:"  
description: "What is the difference between this() and super()?:"  
author: "Pushpendra Singh"  
published: 2010-10-25  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/169/what-is-the-difference-between-this-and-super  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is the difference between this() and super()?:

this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.

## Answers

### Answer by Pushpendra Singh

this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.


---

Original Source: https://www.mindstick.com/interview/169/what-is-the-difference-between-this-and-super

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
