Why need object initialization in static method | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 7

Why need object initialization in static method

11th Mar 2017, 2:46 AM
Amar Dahake
2 Réponses
+ 1
just being a static method does not mean the object is necessarily static, it just means any instance of that object will include that method and any function that method does affects all instances of that object
11th Mar 2017, 4:00 AM
William La Flamme
William La Flamme - avatar
+ 5
thanks
12th Mar 2017, 7:30 AM
Amar Dahake