Why need object initialization in static method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Why need object initialization in static method

11th Mar 2017, 2:46 AM
Amar Dahake
2 Answers
+ 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