fuzhengwei / itstack-demo-design

:art: 《重学Java设计模式》是一本互联网真实案例实践书籍。以落地解决方案为核心,从实际业务中抽离出,交易、营销、秒杀、中间件、源码等22个真实场景,来学习设计模式的运用。欢迎关注小傅哥,微信(fustack),公众号:bugstack虫洞栈,博客:https://bugstack.cn

Home Page:https://bugstack.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

单例模式itstack-demo-design-5-06

Stanford2299 opened this issue · comments

image
这为什么要用for 两个returun ,用for(;;)还有意义么?

我测试发现好像 for循环确实没有任何意义。