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.