we can use static and super keyword same time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

we can use static and super keyword same time

10th Apr 2017, 6:30 PM
Rishi Mishrq
Rishi Mishrq - avatar
2 Answers
+ 11
I think you're mixing up something. Super is to call the parent's constructor from the derived class. See this for information about static: https://www.sololearn.com/discuss/287862/?ref=app
11th Apr 2017, 5:03 AM
Tashi N
Tashi N - avatar
+ 1
ok thqnku
11th Apr 2017, 5:07 AM
Rishi Mishrq
Rishi Mishrq - avatar