Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
You should understand that static objects differ from usual ones only in the lifetime. So, a static object can use constant functions the same way as non-static variables or constants.
13th Jul 2021, 9:29 AM
Denys
Denys - avatar