When would you need to use late static binding?

前端 未结 6 828
遥遥无期
遥遥无期 2020-12-16 04:33

After reading this description of late static binding (LSB) I see pretty clearly what is going on. Now, under which sorts of circumstances might that be most useful or neede

6条回答
  •  忘掉有多难
    2020-12-16 04:44

    I have a class with a static method that handles some formatting. I have another class that than needs all the functionality of the original one except for how it handles formatting.

提交回复
热议问题