摘要:
In Scala, constructors other than the primary constructor are called auxiliary constructors. Auxiliary constructors in Scala start with def this(...). 阅读全文
posted @ 2019-07-28 12:01
25th_engineer
阅读(181)
评论(0)
推荐(0)
摘要:
Immutable objects offer several advantages over mutable objects, and one potential disadvantage. First, immutable objects are often easier to reason a 阅读全文
posted @ 2019-07-28 11:32
25th_engineer
阅读(285)
评论(0)
推荐(0)
摘要:
[1] Packages, which were briefly described in Step 1 in Chapter 2, will be covered in depth inChapter 13. [2] figuratively speaking [3] Overloaded met 阅读全文
posted @ 2019-07-28 10:28
25th_engineer
阅读(165)
评论(0)
推荐(0)
摘要:
You can place any expression after a dollar sign ($) in a processed string literal. For single-variable expressions, you can often just place the vari 阅读全文
posted @ 2019-07-28 10:25
25th_engineer
阅读(174)
评论(0)
推荐(0)
浙公网安备 33010602011771号