0
Why I must make SomeClass2 static to make this code work? Thanks)
5 ответов
+ 3
Check here what I did.
https://code.sololearn.com/cLw5GuE5bdgJ/?ref=app
+ 3
Даниил Ефремов 😂 Yes you did two mistakes
2 - man
2 - Someclass
+ 1
Non-static members cannot access static member since non static are accessed by reference whereas static anywhere in class.
0
you have a typo in extends Someclass should be SomeClass
+ why are you calling this.perform() inside the perform() itself?
0
bahha, thanks for remark. About perform - its example from lesson so I just typed as it was, I think it is made to take away your eyes.