Where is used this keywords and where is used super keywords | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Where is used this keywords and where is used super keywords

7th Nov 2019, 3:58 PM
akash raut
2 ответов
+ 1
You can find easily on Google.
7th Nov 2019, 4:16 PM
A͢J
A͢J - avatar
0
this keyword is like a pointer to the current object whereas super keyword is used to call the constructor of the super class.
7th Nov 2019, 4:38 PM
Avinesh
Avinesh - avatar