Computer Science, asked by Anonymous, 11 months ago

❤plz differentiate b/w❤

THIS keyword & SUPER keyword...!!

✌✌✌

Answers

Answered by ItsVirat
1

Explanation:

super keyword is used to access methods of the parent class while this is used to access methods of the current class. this keyword. this is a reserved keyword in java i.e, we can't use it as an identifier. this is used to refer current-class's instance as well as static members.

Answered by aryanpandey1234
2

super keyword is used to access methods of the parent class while this is used to access methods of the current class.

this keyword

  • this is a reserved keyword in java i.e, we can’t use it as an identifier.
  • this is used to refer current-class’s instance as well as static members.
Similar questions