Best practice on scoping fields defined inside Scala object

前端 未结 0 1804
不思量自难忘°
不思量自难忘° 2020-12-01 23:19

I have fields defined inside object as you can see below. If we define scope at object level we can ensure that all the fields are not usable outside of desired package with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题