Scala lets you nest class declarations, like many object-oriented languages.
Scala和许多面向对象语言一样,允许你嵌套声明类。
"Private" and "public" have the same meaning here as in most object-oriented languages.
“私有”和“公有”在这里的意思和在大多数面向对象语言里一样。
Many times the solution isn't obvious, and even object-oriented languages may not help.
很多时候这个问题并没有明显的解决方案,即使面向对象语言也不能解决问题。
Some other object-oriented programming languages do not provide that pointer.
其他的面相对象编程的语言,没有提供这个指针。
应用推荐