Why can't we have static method in a (non-static) inner class? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Why can't we have static method in a (non-static) inner class?

Instance variable and methods can't be static Could you answer me ?

9th May 2022, 9:18 PM
Mohamed
Mohamed - avatar
2 Réponses
+ 1
Denise Roßberg Thanks dude 🙂
10th May 2022, 2:50 PM
Mohamed
Mohamed - avatar