由於::以:結尾,所以Scala會認為要由右邊物件來呼叫::方法,但3是個Int,不會有::方法,所以會出現「value :: is not a member of Int」的錯誤訊息。 由於:結尾的方法會被 ...
確定! 回上一頁